sops ssh
This commit is contained in:
parent
1b6310a742
commit
d409e4a9d6
2 changed files with 2 additions and 5 deletions
|
|
@ -23,9 +23,6 @@
|
||||||
./hibernation.nix
|
./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
|
services.fwupd.enable = true; #fwupdmgr update
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
# Fixes java crash because of bind mount with impermanence when loading too many mods(ex. All The Mods 9)
|
# Fixes java crash because of bind mount with impermanence when loading too many mods(ex. All The Mods 9)
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ in {
|
||||||
environment.systemPackages = with pkgs; [sops];
|
environment.systemPackages = with pkgs; [sops];
|
||||||
sops.defaultSopsFile = ./secrets/secrets.yaml;
|
sops.defaultSopsFile = ./secrets/secrets.yaml;
|
||||||
sops.defaultSopsFormat = "yaml";
|
sops.defaultSopsFormat = "yaml";
|
||||||
sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key" "/home/kylekrein/.ssh/id_ed25519"];
|
sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key" "/persist/home/kylekrein/.ssh/id_ed25519" "/home/kylekrein/.ssh/id_ed25519"];
|
||||||
#sops.age.keyFile = keyPath;
|
sops.age.keyFile = keyPath;
|
||||||
# This will generate a new key if the key specified above does not exist
|
# This will generate a new key if the key specified above does not exist
|
||||||
sops.age.generateKey = true;
|
sops.age.generateKey = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue