treewide reformat

This commit is contained in:
Gerg-L 2023-09-23 21:55:56 -04:00
parent de7683556e
commit fc21bf9436
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
42 changed files with 1012 additions and 876 deletions

View file

@ -1,24 +1,18 @@
{ sops-nix, self, ... }:
{
sops-nix,
self,
...
}: {
pkgs,
config,
lib,
...
}: {
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;