add sops-nix module by default
This commit is contained in:
parent
0382bb8748
commit
60f1cff5d7
3 changed files with 3 additions and 8 deletions
|
@ -1,7 +1,4 @@
|
|||
{ config, inputs, pkgs, ... }: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
{ config, pkgs, ... }: {
|
||||
sops.secrets."services/forgejo/mailerPassword" = {
|
||||
sopsFile = ../../secrets/services/forgejo.yaml;
|
||||
owner = "forgejo";
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
{ config, inputs, pkgs, ... }: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
{ config, pkgs, ... }: {
|
||||
sops.secrets."services/vaultwarden/environmentFile" = {
|
||||
sopsFile = ../../secrets/services/vaultwarden.yaml;
|
||||
owner = "vaultwarden";
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
../../config/hosts/${hostname}/configuration.nix
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
({ ... }: {
|
||||
nixpkgs.overlays = [ self.overlays.kyouma ];
|
||||
nixpkgs.hostPlatform = system;
|
||||
|
|
Loading…
Reference in a new issue