Update env file locations
This commit is contained in:
parent
deaf820e4a
commit
c930879fb9
|
@ -27,7 +27,7 @@
|
||||||
users.users.kamov = {
|
users.users.kamov = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
openssh.authorizedKeys.keyFiles = [ /etc/nixos/ssh/kamov ];
|
openssh.authorizedKeys.keyFiles = [ /root/secrets/ssh/kamov.pub ];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
containers = {
|
containers = {
|
||||||
kotori = {
|
kotori = {
|
||||||
image = "kamov/kotori";
|
image = "kamov/kotori";
|
||||||
environmentFiles = [ "/etc/nixos/secrets/kotori.env" ];
|
environmentFiles = [ /root/secrets/kotori.env ];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
13
symlink.sh
13
symlink.sh
|
@ -1,13 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
HOST=`hostname`
|
|
||||||
if [[ ! -z "$1" ]]; then
|
|
||||||
HOST=$1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ! -e "hosts/$HOST/configuration.nix" ]]; then
|
|
||||||
echo "missing config file for $HOST" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ln -f "hosts/$HOST/configuration.nix" .
|
|
Loading…
Reference in a new issue