I am going insane
This commit is contained in:
parent
1d2a73c25a
commit
75854e1455
5 changed files with 13 additions and 18 deletions
|
@ -4,8 +4,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.system.hardware;
|
||||
inherit (cfg) amd nvidia;
|
||||
inherit (config.modules.system.hardware) nvidia amd;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = {
|
||||
|
@ -16,7 +15,7 @@ in {
|
|||
mkIf amd.enable [
|
||||
mesa
|
||||
libva
|
||||
vaapiVdpau
|
||||
vaapiVdpa
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -27,7 +26,7 @@ in {
|
|||
enable = true;
|
||||
finegrained = false;
|
||||
nvidiaSettings = false;
|
||||
package = config.boot.kernelPackges.nvidiaPackages.beta;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
};
|
||||
};
|
||||
boot.initrd.kernelModules = mkIf amd.enable ["amdgpu"];
|
||||
|
|
|
@ -13,7 +13,7 @@ in {
|
|||
];
|
||||
wifi = {
|
||||
# Generate a randomized value upon each connect
|
||||
macAdress = "random";
|
||||
macAddress = "random";
|
||||
|
||||
# Enable Wi-Fi power saving
|
||||
powersave = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue