1
0
Fork 0
forked from emily/nixfiles

add sops-nix module by default

This commit is contained in:
emily 2024-05-09 16:41:01 +02:00
parent 0382bb8748
commit 60f1cff5d7
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995
3 changed files with 3 additions and 8 deletions

View file

@ -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";

View file

@ -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";

View file

@ -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;