luks encrypt laptop

This commit is contained in:
Kopatz
2025-10-29 17:26:11 +01:00
parent 8d48e3a951
commit ba4616877f
9 changed files with 64 additions and 20 deletions

View File

@@ -111,7 +111,7 @@ in {
"temperature".format = "{temperatureC}°C ";
"temperature".interval = 5;
"temperature".hwmon-path =
lib.mkIf (osConfig.networking.hostName == "nix-laptop")
lib.mkIf (osConfig.networking.hostName == "framework")
"/sys/class/hwmon/hwmon6/temp1_input";
"backlight".format = "{percent}% {icon}";
"backlight".states = [ 0 50 ];