refactor: centralize SOPS configuration in separate file
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
This commit is contained in:
@@ -13,11 +13,6 @@
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
sops = {
|
||||
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/home/servius/.config/sops/age/keys.txt";
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
./services
|
||||
./disk-config.nix
|
||||
./${name}.nix
|
||||
../../sops.nix
|
||||
];
|
||||
}
|
||||
)
|
||||
|
||||
@@ -31,11 +31,11 @@
|
||||
}
|
||||
}
|
||||
'';
|
||||
# package = pkgs.caddy.withPlugins {
|
||||
# plugins = ["github.com/caddy-dns/hetzner@v1.0.0"];
|
||||
# hash = "sha256-9ea0CfOHG7JhejB73HjfXQpnonn+ZRBqLNz1fFRkcDQ=";
|
||||
# };
|
||||
package = pkgs.caddyWithHetzner;
|
||||
package = pkgs.caddy.withPlugins {
|
||||
plugins = ["github.com/caddy-dns/hetzner@v1.0.0"];
|
||||
hash = "sha256-9ea0CfOHG7JhejB73HjfXQpnonn+ZRBqLNz1fFRkcDQ=";
|
||||
};
|
||||
# package = pkgs.caddyWithHetzner;
|
||||
};
|
||||
};
|
||||
systemd.services.caddy = {
|
||||
|
||||
Reference in New Issue
Block a user