Switch to l8st nix
This commit is contained in:
parent
69c1cf2cb7
commit
b018a8100f
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue