forked from emily/nixfiles
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, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
imports = [
|
|
||||||
inputs.sops-nix.nixosModules.sops
|
|
||||||
];
|
|
||||||
sops.secrets."services/forgejo/mailerPassword" = {
|
sops.secrets."services/forgejo/mailerPassword" = {
|
||||||
sopsFile = ../../secrets/services/forgejo.yaml;
|
sopsFile = ../../secrets/services/forgejo.yaml;
|
||||||
owner = "forgejo";
|
owner = "forgejo";
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{ config, inputs, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
imports = [
|
|
||||||
inputs.sops-nix.nixosModules.sops
|
|
||||||
];
|
|
||||||
sops.secrets."services/vaultwarden/environmentFile" = {
|
sops.secrets."services/vaultwarden/environmentFile" = {
|
||||||
sopsFile = ../../secrets/services/vaultwarden.yaml;
|
sopsFile = ../../secrets/services/vaultwarden.yaml;
|
||||||
owner = "vaultwarden";
|
owner = "vaultwarden";
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
../../config/hosts/${hostname}/configuration.nix
|
../../config/hosts/${hostname}/configuration.nix
|
||||||
|
inputs.sops-nix.nixosModules.sops
|
||||||
({ ... }: {
|
({ ... }: {
|
||||||
nixpkgs.overlays = [ self.overlays.kyouma ];
|
nixpkgs.overlays = [ self.overlays.kyouma ];
|
||||||
nixpkgs.hostPlatform = system;
|
nixpkgs.hostPlatform = system;
|
||||||
|
|
Loading…
Reference in a new issue