Switch to l8st nix

This commit is contained in:
Emi Simpson 2023-07-22 13:31:43 -04:00
parent 69c1cf2cb7
commit b018a8100f
Signed by: Emi
GPG Key ID: A12F2C2FFDC3D847
3 changed files with 4 additions and 8 deletions

View File

@ -1,8 +1,8 @@
{ config, lib, pkgs, modulesPath, ... }:
let systemInformation = import ../system/system-information.nix; in
{
boot.tmpOnTmpfs = true;
boot.tmpOnTmpfsSize = "75%";
boot.tmp.useTmpfs = true;
boot.tmp.tmpfsSize = "75%";
boot.initrd.luks.devices = {
cryptoroot = {
device = systemInformation.rootPartition;

View File

@ -170,7 +170,7 @@ let systemInformation = import ./system/system-information.nix; in
openssh = {
# Disable by default
banner = "Welcome to ${systemInformation.prettyHostname}!\n";
passwordAuthentication = false;
settings.PasswordAuthentication = false;
};
};
@ -213,8 +213,5 @@ let systemInformation = import ./system/system-information.nix; in
hardware.cpu.intel.updateMicrocode = systemInformation.isIntel;
hardware.cpu.amd.updateMicrocode = systemInformation.isAmd;
# high-resolution display
hardware.video.hidpi.enable = systemInformation.isHiDPI;
nix.settings.auto-optimise-store = true;
}

View File

@ -6,7 +6,6 @@
swapPartition = "/dev/disk/by-uuid/6144d426-6c5f-4a8a-ac16-d4d5eecbf7a0";
efiPartition = "/dev/disk/by-uuid/E5A8-38EA";
isHiDPI = true;
isIntel = true;
isAmd = false;
}
}