devShell stuff and sops

This commit is contained in:
Gerg-L 2024-07-09 13:26:18 -04:00
parent 4856ba7e81
commit 12cf6b2371
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
3 changed files with 2 additions and 4 deletions

View file

@ -1,5 +1,4 @@
{
pkgs,
config,
lib,
sops-nix,
@ -9,7 +8,6 @@
imports = [ sops-nix.nixosModules.sops ];
options.local.sops.disable = lib.mkEnableOption "";
config = lib.mkIf (!config.local.sops.disable) {
environment.systemPackages = [ pkgs.sops ];
sops = {
defaultSopsFile = "${self'}/hosts/${config.networking.hostName}/secrets.yaml";
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];