diff options
-rwxr-xr-x | bootstrap/setup/setup.sh | 2 | ||||
-rw-r--r-- | system/impermanence/default.nix | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/bootstrap/setup/setup.sh b/bootstrap/setup/setup.sh index 9f102f43..8ef74b0a 100755 --- a/bootstrap/setup/setup.sh +++ b/bootstrap/setup/setup.sh @@ -28,7 +28,7 @@ done nixos-install --flake git+https://git.sils.li/ene/nixos-config#${host} --no-root-passwd # clone the git config -git clone https://git.sils.li/ene/nixos-config /mnt/etc/nixos +git clone https://git.sils.li/ene/nixos-config /mnt/srv/etc/nixos # setup persistent home dir mkdir -p /srv/home diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix index 1457530d..337ab9aa 100644 --- a/system/impermanence/default.nix +++ b/system/impermanence/default.nix @@ -8,6 +8,7 @@ "/srv" = { hideMounts = true; directories = [ + "/etc/nixos" "/var/log" # TODO this needs to be checked #"/var/lib/bluetooth" @@ -18,10 +19,5 @@ "/etc/machine-id" ]; }; - "/srv/nixos-config" = { - directories = [ - "/etc/nixos" - ]; - }; }; } |