Refaktoryzacja struktury konfiguracji NixOS
- Usunięcie zbędnych parametrów wejściowych funkcji konfiguracyjnej - Przeniesienie ustawień do oddzielnych plików w katalogu `config/` - Uproszczenie struktury `config.nix` poprzez delegację ustawień do modułów - Zachowanie wcześniejszych importów modułów sprzętowych
This commit is contained in:
23
hosts/garand-laptop/config/hardware.nix
Normal file
23
hosts/garand-laptop/config/hardware.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{pkgs, ...}: {
|
||||
hardware = {
|
||||
sane = {
|
||||
enable = true;
|
||||
extraBackends = [pkgs.sane-airscan];
|
||||
disabledDefaultBackends = ["escl"];
|
||||
};
|
||||
logitech = {
|
||||
wireless = {
|
||||
enable = false;
|
||||
enableGraphical = false;
|
||||
};
|
||||
};
|
||||
bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
};
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user