hosts: small fixes on kabtopci prototype
This commit is contained in:
parent
8c59339b50
commit
998c9aa54d
@ -30,11 +30,10 @@
|
|||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
loader = { # EFI Boot
|
loader = { # EFI Boot
|
||||||
systemd-boot.enable = true;
|
grub = {
|
||||||
efi = {
|
enable = true;
|
||||||
canTouchEfiVariables = true;
|
device = "/dev/vda";
|
||||||
efiSysMountPoint = "/boot";
|
};
|
||||||
};
|
|
||||||
timeout = 1; # Grub auto select time
|
timeout = 1; # Grub auto select time
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
fileSystems."/var" =
|
fileSystems."/var" =
|
||||||
{ device = "/dev/disk/by-label/NIXROOT";
|
{ device = "/dev/disk/by-label/NIXROOT";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@var,discard=async" ];
|
options = [ "space_cache=v2,ssd,noatime,subvol=@var,discard=async" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nix" =
|
fileSystems."/nix" =
|
||||||
@ -104,4 +104,6 @@
|
|||||||
allowedTCPPorts = [ 80 443 ];
|
allowedTCPPorts = [ 80 443 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user