summaryrefslogtreecommitdiff
path: root/hosts/thinkpad/configuration.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-03-08 23:41:14 +0100
committeradikro <adikro@disroot.org>2026-03-08 23:41:14 +0100
commitfbe607ebe926dc063370d0740542362eb080a49f (patch)
tree13719612709b37910ed79e30e648389e8031ede9 /hosts/thinkpad/configuration.nix
parent11d05469368ecfe533c7720e7f5b624f2f8f19fc (diff)
cwel
Diffstat (limited to 'hosts/thinkpad/configuration.nix')
-rw-r--r--hosts/thinkpad/configuration.nix12
1 files changed, 1 insertions, 11 deletions
diff --git a/hosts/thinkpad/configuration.nix b/hosts/thinkpad/configuration.nix
index f9d3f6c..5dd5b8f 100644
--- a/hosts/thinkpad/configuration.nix
+++ b/hosts/thinkpad/configuration.nix
@@ -14,7 +14,7 @@
../../os/default.nix
];
- hardware.facter.reportPath = /etc/nixos/hosts/thinkpad/facter.json;
+ hardware.facter.reportPath = ./facter.json;
os = {
core = {
@@ -84,16 +84,6 @@
};
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;
}