mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
lenny: remove tmpfs root
This commit is contained in:
parent
b8b5d95f34
commit
25e8bc809b
1 changed files with 4 additions and 1 deletions
|
@ -35,13 +35,16 @@
|
|||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
initrd.postDeviceCommands = lib.mkAfter ''
|
||||
zfs rollback lenny/locker/tmproot@blank
|
||||
'';
|
||||
};
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
fileSystems = {
|
||||
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" "size=4G" ]; };
|
||||
"/" = { device = "lenny/locker/tmproot"; fsType = "zfs"; };
|
||||
"/nix" = { device = "lenny/locker/nix"; fsType = "zfs"; };
|
||||
"/home" = { device = "lenny/locker/home"; fsType = "zfs"; };
|
||||
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
||||
|
|
Loading…
Reference in a new issue