nixfmt changes

This commit is contained in:
Gerg-L 2023-12-03 21:59:58 -05:00
parent 36176f647c
commit f25c8638ee
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
36 changed files with 133 additions and 135 deletions

View file

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