From 427bff7d59080b7053ce37a88bfb42e078a40fba Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Thu, 25 Jul 2024 19:50:36 -0700 Subject: Formatting tweaks --- hosts/copenhagen/configuration.nix | 2 ++ hosts/copenhagen/hardware.nix | 3 ++- hosts/copenhagen/home/c.nix | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'hosts/copenhagen') diff --git a/hosts/copenhagen/configuration.nix b/hosts/copenhagen/configuration.nix index f89d04b..1e392f6 100644 --- a/hosts/copenhagen/configuration.nix +++ b/hosts/copenhagen/configuration.nix @@ -11,6 +11,7 @@ environment.persistence."/persist/system" = { hideMounts = true; + directories = [ "/etc/nixos" "/var/log" @@ -20,6 +21,7 @@ "/srv/web" "/srv/minecraft" ]; + files = [ "/etc/machine-id" ]; diff --git a/hosts/copenhagen/hardware.nix b/hosts/copenhagen/hardware.nix index 061700b..8ba2b70 100644 --- a/hosts/copenhagen/hardware.nix +++ b/hosts/copenhagen/hardware.nix @@ -12,6 +12,7 @@ zfsSupport = true; efiSupport = true; efiInstallAsRemovable = true; + mirroredBoots = [ { devices = [ "nodev" ]; path = "/boot"; } ]; @@ -38,10 +39,10 @@ fileSystems = { "/" = { fsType = "zfs"; device = "zpool/root"; }; + "/nix" = { fsType = "zfs"; device = "zpool/nix"; }; "/home" = { fsType = "zfs"; device = "zpool/home"; }; "/persist" = { fsType = "zfs"; device = "zpool/persist"; neededForBoot = true; }; "/secrets" = { fsType = "zfs"; device = "zpool/secrets"; neededForBoot = true; }; - "/nix" = { fsType = "zfs"; device = "zpool/nix"; }; "/boot" = { fsType = "vfat"; device = "/dev/disk/by-uuid/DF61-E3BD"; }; diff --git a/hosts/copenhagen/home/c.nix b/hosts/copenhagen/home/c.nix index 9d8bbe6..718b382 100644 --- a/hosts/copenhagen/home/c.nix +++ b/hosts/copenhagen/home/c.nix @@ -8,13 +8,14 @@ home.stateVersion = "23.11"; home.persistence."/persist/home/c" = { + allowOther = true; + directories = [ ".gnupg" ".ssh" ".local/bin" ]; - allowOther = true; }; -- cgit v1.2.3