mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
hosts/cube: bugfixes
This commit is contained in:
parent
62fff56c0c
commit
b2693faebb
1 changed files with 5 additions and 1 deletions
|
@ -29,6 +29,10 @@
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
users.mutableUsers = false;
|
||||||
|
users.users.sean.passwordFile = "/persist/shadow/sean";
|
||||||
|
users.users.root.passwordFile = "/persist/shadow/sean";
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
loader.efi.canTouchEfiVariables = true;
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
@ -39,7 +43,7 @@
|
||||||
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
||||||
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
||||||
"/nix" = { device = "cube/locker/nix"; fsType = "zfs"; };
|
"/nix" = { device = "cube/locker/nix"; fsType = "zfs"; };
|
||||||
"/persist" = { device = "cube/locker/persist"; fsType = "zfs"; };
|
"/persist" = { device = "cube/locker/persist"; fsType = "zfs"; neededForBoot = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
|
|
Loading…
Reference in a new issue