Fix up for hermes

This commit is contained in:
Paul-Mathias Logue 2025-12-24 17:16:38 +01:00 committed by monologiq
parent abd055702b
commit 4a2dfb8e6e
5 changed files with 58 additions and 14 deletions

View file

@ -6,6 +6,8 @@
...
}:
let
inherit (lib) mkDefault;
bootUUID = config.machine.fs.bootUUID;
efiUUID = config.machine.fs.efiUUID;
luuksUUID = config.machine.fs.luuksUUID;
@ -39,6 +41,11 @@ in
xbootldrMountPoint = "/boot";
};
environment.sessionVariables = {
EDITOR = "${pkgs.vim}/bin/vim";
PAGER = "${pkgs.less}/bin/less";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/${bootUUID}";
fsType = "ext4";
@ -53,11 +60,6 @@ in
];
};
environment.sessionVariables = {
EDITOR = "${pkgs.vim}/bin/vim";
PAGER = "${pkgs.less}/bin/less";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/${cryptrootUUID}";
fsType = "btrfs";
@ -112,6 +114,8 @@ in
options = [ "subvol=@var_lib_portables" ];
};
networking.useDHCP = mkDefault true;
services.avahi.enable = true;
services.openssh.enable = true;