diff options
| author | adikro <adikro@disroot.org> | 2026-02-12 00:41:07 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-02-12 00:41:07 +0100 |
| commit | 1ff6f0eb48961e6482ec1b7d0dd9b606e85ddc79 (patch) | |
| tree | 62099e5c57c7ffe92777f800ec45ee5d68a16ecf /hosts/thinkpad/configuration.nix | |
| parent | 233e5fb7d43a0736857ee6b9f74967f03b73837c (diff) | |
disko and bootloader changes
Diffstat (limited to 'hosts/thinkpad/configuration.nix')
| -rw-r--r-- | hosts/thinkpad/configuration.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/hosts/thinkpad/configuration.nix b/hosts/thinkpad/configuration.nix index a38d74b..d58858a 100644 --- a/hosts/thinkpad/configuration.nix +++ b/hosts/thinkpad/configuration.nix @@ -2,17 +2,20 @@ inputs, username, ... -}: { +}: +{ system.stateVersion = "25.05"; imports = [ + inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480s inputs.disko.nixosModules.disko ./disko.nix - ./hardware-configuration.nix ../../os/default.nix ]; + hardware.facter.reportPath = /etc/nixos/hosts/thinkpad/facter.json; + os = { core = { allowUnfree.enable = true; @@ -20,15 +23,15 @@ audio.enable = true; bootloader = { type = "grub"; - enableEncryption = true; - grubDevice = "/dev/nvme0n1"; - luksDevice = "/dev/nvme0n1p2"; + efi = false; + timeout = 0; + luks.enable = true; }; drivers = { enable = true; cpu = "intel"; graphics.enable = true; - kernel = "hardened"; + kernel = "stable"; }; fonts.enable = true; greet.enable = true; @@ -73,5 +76,4 @@ }; }; services.thinkfan.enable = true; - boot.kernelModules = ["thinkpad_acpi"]; } |
