Move hw modules cfg to hardware-configuration.nix's

This commit is contained in:
Henrik Lissner 2021-02-02 00:32:57 -05:00
parent 930312b650
commit be5d10a008
4 changed files with 21 additions and 20 deletions

View file

@ -46,16 +46,6 @@
emacs.enable = true;
vim.enable = true;
};
hardware = {
audio.enable = true;
ergodox.enable = true;
fs = {
enable = true;
ssd.enable = true;
};
nvidia.enable = true;
sensors.enable = true;
};
shell = {
bitwarden.enable = true;
direnv.enable = true;

View file

@ -17,6 +17,18 @@
];
};
# Modules
modules.hardware = {
audio.enable = true;
ergodox.enable = true;
fs = {
enable = true;
ssd.enable = true;
};
nvidia.enable = true;
sensors.enable = true;
};
# CPU
nix.maxJobs = lib.mkDefault 16;
powerManagement.cpuFreqGovernor = "performance";

View file

@ -40,13 +40,6 @@
vim.enable = true;
};
dev = {};
hardware = {
audio.enable = true;
fs = {
enable = true;
ssd.enable = true;
};
};
shell = {
bitwarden.enable = true;
direnv.enable = true;
@ -54,9 +47,6 @@
gnupg.enable = true;
tmux.enable = true;
zsh.enable = true;
};
hardware = {
};
services = {
# syncthing.enable = true;

View file

@ -21,6 +21,15 @@
kernelParams = [ "mitigations=off" ];
};
# Modules
modules.hardware = {
audio.enable = true;
fs = {
enable = true;
ssd.enable = true;
};
};
# CPU
nix.maxJobs = lib.mkDefault 8;
hardware.cpu.intel.updateMicrocode = true;