aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/c-pc/hardware.nix17
-rw-r--r--hosts/c-pc/home.nix12
2 files changed, 18 insertions, 11 deletions
diff --git a/hosts/c-pc/hardware.nix b/hosts/c-pc/hardware.nix
index 660ac7a..3b4a417 100644
--- a/hosts/c-pc/hardware.nix
+++ b/hosts/c-pc/hardware.nix
@@ -40,16 +40,17 @@
};
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/secure/secrets"; neededForBoot = true; };
+ "/" = { 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; };
+ "/persist/secure" = { fsType = "zfs"; device = "zpool/secure/persist"; neededForBoot = true; };
+ "/secrets" = { fsType = "zfs"; device = "zpool/secure/secrets"; neededForBoot = true; };
- "/boot" = { fsType = "vfat"; device = "/dev/disk/by-uuid/12CE-A600"; };
+ "/boot" = { fsType = "vfat"; device = "/dev/disk/by-uuid/12CE-A600"; };
- "/mnt/4tb" = { fsType = "ext4"; device = "/dev/disk/by-label/4tb"; };
- "/mnt/ssd" = { fsType = "ext4"; device = "/dev/disk/by-label/ssd-256"; };
+ "/mnt/4tb" = { fsType = "ext4"; device = "/dev/disk/by-label/4tb"; };
+ "/mnt/ssd" = { fsType = "ext4"; device = "/dev/disk/by-label/ssd-256"; };
};
swapDevices = [ ];
diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix
index c2efb51..28a5e12 100644
--- a/hosts/c-pc/home.nix
+++ b/hosts/c-pc/home.nix
@@ -26,9 +26,6 @@
"Persist"
"code"
-
- ".gnupg"
- ".ssh"
".local/bin"
".local/share/applications"
@@ -74,6 +71,15 @@
];
};
+ home.persistence."/persist/secure/home" = {
+ allowOther = true;
+
+ directories = [
+ ".gnupg"
+ ".ssh"
+ ];
+ };
+
programs = {
feh.enable = true;
btop.enable = true;