diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-07-25 19:50:36 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-07-25 19:50:36 -0700 |
| commit | 427bff7d59080b7053ce37a88bfb42e078a40fba (patch) | |
| tree | 3fa0de16dcf695c0b42b2a546de233fd3950d477 /hosts/copenhagen | |
| parent | de48344a6eb3ff2a7167c47c8929d37ec8349976 (diff) | |
Formatting tweaks
Diffstat (limited to 'hosts/copenhagen')
| -rw-r--r-- | hosts/copenhagen/configuration.nix | 2 | ||||
| -rw-r--r-- | hosts/copenhagen/hardware.nix | 3 | ||||
| -rw-r--r-- | hosts/copenhagen/home/c.nix | 3 |
3 files changed, 6 insertions, 2 deletions
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; }; |