From d409e4a9d6d73c67600c4edab936215b492e247c Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Wed, 30 Jul 2025 19:19:58 +0200 Subject: [PATCH] sops ssh --- nixos/hosts/kylekrein-framework12/default.nix | 3 --- nixos/modules/sops/default.nix | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/nixos/hosts/kylekrein-framework12/default.nix b/nixos/hosts/kylekrein-framework12/default.nix index 12241aa..e39975a 100644 --- a/nixos/hosts/kylekrein-framework12/default.nix +++ b/nixos/hosts/kylekrein-framework12/default.nix @@ -23,9 +23,6 @@ ./hibernation.nix ]; - boot.kernelPackages = lib.mkForce pkgs.linuxPackages_cachyos; - services.scx.enable = true; # by default uses scx_rustland scheduler - services.fwupd.enable = true; #fwupdmgr update nixpkgs.overlays = [ # Fixes java crash because of bind mount with impermanence when loading too many mods(ex. All The Mods 9) diff --git a/nixos/modules/sops/default.nix b/nixos/modules/sops/default.nix index 50128c9..1f2d7d5 100644 --- a/nixos/modules/sops/default.nix +++ b/nixos/modules/sops/default.nix @@ -14,8 +14,8 @@ in { environment.systemPackages = with pkgs; [sops]; sops.defaultSopsFile = ./secrets/secrets.yaml; sops.defaultSopsFormat = "yaml"; - sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key" "/home/kylekrein/.ssh/id_ed25519"]; - #sops.age.keyFile = keyPath; + sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key" "/persist/home/kylekrein/.ssh/id_ed25519" "/home/kylekrein/.ssh/id_ed25519"]; + sops.age.keyFile = keyPath; # This will generate a new key if the key specified above does not exist sops.age.generateKey = true; }