luks encrypt laptop
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
let
|
||||
cfg = osConfig.custom.graphical.hyprland;
|
||||
isPc = osConfig.networking.hostName == "kop-pc";
|
||||
isLaptop = osConfig.networking.hostName == "nix-laptop";
|
||||
isLaptop = osConfig.networking.hostName == "framework";
|
||||
restartPortals = pkgs.writeShellScript "restart-portals" ''
|
||||
#!/usr/bin/env bash
|
||||
systemctl --user restart xdg-desktop-portal-gtk
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user