From fb6f93b682ea27fa7278cc46b2e356d9a1554de2 Mon Sep 17 00:00:00 2001 From: ene Date: Tue, 21 Feb 2023 13:01:02 +0100 Subject: Fix(system): Move the nixos-config to the main srv subv --- bootstrap/setup/setup.sh | 2 +- 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" - ]; - }; }; } -- cgit 1.4.1