diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/hosts/adam/configuration.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/hosts/adam/configuration.nix b/modules/hosts/adam/configuration.nix index 92c387f..246fece 100644 --- a/modules/hosts/adam/configuration.nix +++ b/modules/hosts/adam/configuration.nix @@ -8,6 +8,7 @@ boot = { kernelPackages = pkgs.linuxPackages_latest; kernelParams = [ "amd_pstate=active" ]; + kernelModules = [ "amdgpu" ]; initrd.luks.devices."luks-803851e9-7fa8-4367-a927-0bb76d0fe830".device = "/dev/disk/by-uuid/803851e9-7fa8-4367-a927-0bb76d0fe830"; loader = { @@ -35,6 +36,12 @@ # Disable waiting for network to be online systemd.services.NetworkManager-wait-online.enable = false; + # Graphics configuration + hardware.graphics = { + enable = true; + enable32Bit = true; + }; + # User configuration users.users.schererleander = { isNormalUser = true; @@ -49,7 +56,12 @@ ]; }; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + + hardware.enableRedistributableFirmware = true; nixpkgs.config.allowUnfree = true; nixpkgs.hostPlatform = "x86_64-linux"; |
