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/thinkpad/configuration.nix | |
| parent | e5036417abe5d3597792f869e2831decd50eba5d (diff) | |
...
Diffstat (limited to 'hosts/thinkpad/configuration.nix')
| -rw-r--r-- | hosts/thinkpad/configuration.nix | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/hosts/thinkpad/configuration.nix b/hosts/thinkpad/configuration.nix index 4713892..a38d74b 100644 --- a/hosts/thinkpad/configuration.nix +++ b/hosts/thinkpad/configuration.nix @@ -1,5 +1,8 @@ -{ inputs, username, ... }: { + inputs, + username, + ... +}: { system.stateVersion = "25.05"; imports = [ @@ -15,9 +18,16 @@ allowUnfree.enable = true; audio.enable = true; - bootloader = "systemd-boot"; + bootloader = { + type = "grub"; + enableEncryption = true; + grubDevice = "/dev/nvme0n1"; + luksDevice = "/dev/nvme0n1p2"; + }; drivers = { enable = true; + cpu = "intel"; + graphics.enable = true; kernel = "hardened"; }; fonts.enable = true; @@ -38,7 +48,10 @@ }; }; network.enable = true; - power.enable = true; + power = { + enable = true; + mode = "intel"; + }; security.enable = true; ssh.enable = true; storage.enable = true; @@ -52,10 +65,13 @@ }; kdeconnect.enable = true; nix-helper.enable = true; + monero.enable = true; }; wm = { enable = true; niri.enable = true; }; }; + services.thinkfan.enable = true; + boot.kernelModules = ["thinkpad_acpi"]; } |
