diff --git a/nixos/configuration.nix b/nixos/configuration.nix index f6b01d9..63c37ca 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -38,15 +38,6 @@ in }; }; - # make sure that the transfered sops key is moved to correct directory - system.activationScripts.installSopsKey = { - text = '' - mkdir -p /etc/sops/age - mv /tmp/keys.txt /etc/sops/age/keys.txt - chmod 600 /etc/sops/age/keys.txt - ''; - }; - systemd.user.services.mbsync.unitConfig.After = [ "sops-nix.service" ]; environment.variables = { diff --git a/nixos/disk-config.nix b/nixos/disk-config.nix index c7340fb..35cddad 100644 --- a/nixos/disk-config.nix +++ b/nixos/disk-config.nix @@ -38,7 +38,8 @@ compression = "zstd"; "com.sun:auto-snapshot" = "false"; }; - postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; + # what should I be making a snapshot of here?!!!! + postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zpool/local/zroot@blank$' || zfs snapshot zpool/local/zroot@blank"; datasets = { "root" = {