final-finally?
This commit is contained in:
parent
df58d5865e
commit
cbd55764b7
@ -6,15 +6,22 @@
|
|||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.initrd.kernelModules = [ "overlay" "vmd" ];
|
boot.initrd.kernelModules = [ "overlay" "vmd" ];
|
||||||
# root auch in stage1 schon rw mounten, damit dinge verzeichnisse anlegen können.
|
|
||||||
boot.initrd.postMountCommands = ''
|
|
||||||
mount -o remount,rw /
|
|
||||||
'';
|
|
||||||
boot.zfs.extraPools = ["tank"];
|
boot.zfs.extraPools = ["tank"];
|
||||||
|
|
||||||
networking.hostName = "nix-nas";
|
networking.hostName = "nix-nas";
|
||||||
networking.hostId = "39373132"; # via: head -c4 /etc/machine-id | od -An -tx4
|
networking.hostId = "39373132"; # via: head -c4 /etc/machine-id | od -An -tx4
|
||||||
|
|
||||||
|
fileSystems = {
|
||||||
|
"/nix" = {
|
||||||
|
device = "rpool/nix";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
"/home" = {
|
||||||
|
device = "rpool/home";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
users.users.nicole = {
|
users.users.nicole = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
hashedPassword = "$6$p73d5mOLoSuJGOol$KRlszaPXZK9/frADlfR3kAr/57DD5f4.CPTGNNX80QWEWFE5y.bM1WiZwmRHiAlrws3q/zCDQ6AqeSyCUX.8U/";
|
hashedPassword = "$6$p73d5mOLoSuJGOol$KRlszaPXZK9/frADlfR3kAr/57DD5f4.CPTGNNX80QWEWFE5y.bM1WiZwmRHiAlrws3q/zCDQ6AqeSyCUX.8U/";
|
||||||
|
@ -42,12 +42,12 @@
|
|||||||
};
|
};
|
||||||
nix = {
|
nix = {
|
||||||
type = "zfs_fs";
|
type = "zfs_fs";
|
||||||
mountpoint = "/nix";
|
mountpoint = "legacy";
|
||||||
options.compression = "zstd";
|
options.compression = "zstd";
|
||||||
};
|
};
|
||||||
home = {
|
home = {
|
||||||
type = "zfs_fs";
|
type = "zfs_fs";
|
||||||
mountpoint = "/home";
|
mountpoint = "legacy";
|
||||||
options.compression = "zstd";
|
options.compression = "zstd";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user