aboutsummaryrefslogtreecommitdiff
path: root/hosts/copenhagen
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/copenhagen')
-rw-r--r--hosts/copenhagen/configuration.nix2
-rw-r--r--hosts/copenhagen/hardware.nix3
-rw-r--r--hosts/copenhagen/home/c.nix3
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;
};