summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/core/power.nix1
-rw-r--r--os/srv/sops.nix8
2 files changed, 5 insertions, 4 deletions
diff --git a/os/core/power.nix b/os/core/power.nix
index b3dbf91..b74c077 100644
--- a/os/core/power.nix
+++ b/os/core/power.nix
@@ -22,6 +22,7 @@ in
config = lib.mkIf cfg.enable (
lib.mkMerge [
{
+ programs.light.enable = true;
powerManagement.powertop.enable = true;
boot.kernelParams = [ "nvme_core.default_ps_max_latency_us=0" ];
}
diff --git a/os/srv/sops.nix b/os/srv/sops.nix
index e5233d6..3c9f0a9 100644
--- a/os/srv/sops.nix
+++ b/os/srv/sops.nix
@@ -24,13 +24,13 @@ in
"obs/websocket_password".owner = username;
root_password.neededForUsers = true;
user_password.neededForUsers = true;
- crypt_key = { };
+# crypt_key = { };
};
};
- boot.initrd.secrets = {
- "/tmp/crypt.key" = config.sops.secrets.crypt_key.path;
- };
+# boot.initrd.secrets = {
+# "/tmp/crypt.key" = config.sops.secrets.crypt_key.path;
+# };
environment.systemPackages = with pkgs; [
sops