posixlycorrect: add zfs external disk for backups and storage
This commit is contained in:
parent
5a1c08a9bd
commit
f1c9bf2323
1 changed files with 7 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue