posixlycorrect: add zfs external disk for backups and storage

This commit is contained in:
Fabian Montero 2025-09-07 12:09:23 -06:00
parent 5a1c08a9bd
commit f1c9bf2323
Signed by: fabian
GPG key ID: 3EDA9AE3937CCDE3

View file

@ -26,8 +26,7 @@
paths = [
"/home/fabian/nix"
"/home/fabian/safe"
"/extern/var/media"
"/extern/var/fsociety_backup"
"/xtern/backup"
];
repoName = "posixlycorrect";
};
@ -47,6 +46,7 @@
networking = {
hostName = "posixlycorrect";
networkmanager.enable = true;
hostId = "0414a727";
useDHCP = false; # The global useDHCP flag is deprecated, therefore explicitly set to false here.
interfaces.enp7s0.useDHCP = true; # Per-interface useDHCP will be mandatory in the future, so this generated config
@ -59,7 +59,11 @@
efi.canTouchEfiVariables = true;
};
tmp.useTmpfs = true;
kernelPackages = pkgs.linuxPackages_latest;
supportedFilesystems = [ "zfs" ];
zfs = {
forceImportRoot = false;
useKeyringForCredentials = true;
};
};
time.timeZone = "America/Costa_Rica";