diff options
| author | adikro <adikro@disroot.org> | 2026-03-07 22:27:05 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-03-07 22:27:05 +0100 |
| commit | 11d05469368ecfe533c7720e7f5b624f2f8f19fc (patch) | |
| tree | c666f76157b6f9158a2faa723efbf10d1d3dab03 /hosts/thinkpad | |
| parent | cacaadb79a73fca27bd8bbc0a33a0713d2379655 (diff) | |
...
Diffstat (limited to 'hosts/thinkpad')
| -rw-r--r-- | hosts/thinkpad/configuration.nix | 26 | ||||
| -rw-r--r-- | hosts/thinkpad/disko.nix | 1 | ||||
| -rw-r--r-- | hosts/thinkpad/home.nix | 1 |
3 files changed, 19 insertions, 9 deletions
diff --git a/hosts/thinkpad/configuration.nix b/hosts/thinkpad/configuration.nix index 56a21b3..f9d3f6c 100644 --- a/hosts/thinkpad/configuration.nix +++ b/hosts/thinkpad/configuration.nix @@ -19,19 +19,14 @@ os = { core = { allowUnfree.enable = true; + flatpak.enable = true; audio.enable = true; bootloader = { type = "grub"; + efi = false; timeout = 0; luks.enable = true; - grub = { - device = "/dev/nvme0n1"; - signing = { - enable = true; - keyId = "3D95543550A5A23A"; - }; - }; }; drivers = { enable = true; @@ -62,6 +57,7 @@ }; srv = { bluetooth.enable = true; + i2p.enable = true; files = { enable = true; localsend.enable = true; @@ -78,12 +74,26 @@ nix-helper.enable = true; monero.enable = true; sops.enable = true; + syncthing.enable = true; + vpn.enable = true; }; wm = { enable = true; niri.enable = true; }; }; + boot = { + kernelParams = [ "iomem=relaxed" ]; + initrd = { + secrets = { + "/etc/cryptsetup-keys.d/root.key" = "/etc/cryptsetup-keys.d/root.key"; + }; + luks.devices."crypted" = { + device = "/dev/nvme0n1p2"; + keyFile = "/etc/cryptsetup-keys.d/root.key"; + allowDiscards = true; + }; + }; + }; services.thinkfan.enable = true; - boot.kernelParams = [ "iomem=relaxed" ]; } diff --git a/hosts/thinkpad/disko.nix b/hosts/thinkpad/disko.nix index 9816f7f..3ab76f4 100644 --- a/hosts/thinkpad/disko.nix +++ b/hosts/thinkpad/disko.nix @@ -16,7 +16,6 @@ content = { type = "luks"; name = "crypted"; - keyFile = "/boot/root.key"; extraFormatArgs = [ "--type luks2" "--pbkdf argon2id" diff --git a/hosts/thinkpad/home.nix b/hosts/thinkpad/home.nix index 3a8215d..b121ae2 100644 --- a/hosts/thinkpad/home.nix +++ b/hosts/thinkpad/home.nix @@ -40,6 +40,7 @@ starship.enable = true; }; soft = { + sioyek.enable = true; browser.librewolf.enable = true; email.thunderbird.enable = true; media.enable = true; |
