diff options
| author | adikro <adikro@disroot.org> | 2026-02-03 22:58:50 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-02-03 22:58:50 +0100 |
| commit | eb95abfc230dc239122f1e89e90cd9a998491a2f (patch) | |
| tree | 9d60efacf83b97059f6300e360be2248f8e9c57e /hosts/laptop/configuration.nix | |
| parent | e5036417abe5d3597792f869e2831decd50eba5d (diff) | |
...
Diffstat (limited to 'hosts/laptop/configuration.nix')
| -rw-r--r-- | hosts/laptop/configuration.nix | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 3390af0..304302d 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -1,5 +1,4 @@ -{ username, ... }: -{ +{username, ...}: { system.stateVersion = "25.05"; imports = [ @@ -12,8 +11,16 @@ allowUnfree.enable = true; audio.enable = true; - bootloader = "grub"; - drivers.enable = true; + bootloader = { + type = "grub"; + useOSProber = true; + grubDevice = "nodev"; + }; + drivers = { + enable = true; + cpu = "amd"; + graphics.enable = true; + }; fonts.enable = true; greet.enable = true; home-manager = { @@ -32,7 +39,10 @@ }; }; network.enable = true; - power.enable = true; + power = { + enable = true; + mode = "amd"; + }; security.enable = true; ssh.enable = true; storage.enable = true; |
