move some things around.
This commit is contained in:
parent
a18b3f2b6d
commit
afe391b735
|
@ -18,6 +18,10 @@
|
||||||
home.vscode
|
home.vscode
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hostName = "lappy";
|
||||||
|
time.timeZone = "Europe/London";
|
||||||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
@ -27,14 +31,6 @@
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
|
||||||
|
|
||||||
networking.hostName = "lappy";
|
|
||||||
services.localtime.enable = true;
|
|
||||||
time.timeZone = "Europe/London";
|
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/491ec94c-5e6a-4d23-a2a6-bcf4971a6e7b";
|
device = "/dev/disk/by-uuid/491ec94c-5e6a-4d23-a2a6-bcf4971a6e7b";
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
hardware.enableAllFirmware = true;
|
||||||
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
|
hardware.ksm.enable = true;
|
||||||
|
hardware.wirelessRegulatoryDatabase = true;
|
||||||
}
|
}
|
||||||
|
|
4
profiles/base/services.nix
Normal file
4
profiles/base/services.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{ config, ... }: {
|
||||||
|
services.localtime.enable = true;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue