From ff7c4cce10410c38d7a9df041735e4e95910b624 Mon Sep 17 00:00:00 2001 From: Lyn Date: Fri, 6 Sep 2024 02:47:41 +0200 Subject: [PATCH] it's finally working O.O --- hosts/forgenite/default.nix | 2 +- meta/profiles/base.nix | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hosts/forgenite/default.nix b/hosts/forgenite/default.nix index 68090b3..ba02e48 100644 --- a/hosts/forgenite/default.nix +++ b/hosts/forgenite/default.nix @@ -7,7 +7,7 @@ ./../../meta/profiles/base.nix ./../../meta/profiles/vm.nix ]; - sops.secrets."hosts/forgenite/db_password" = {}; + lyn.sops.secrets."hosts/forgenite/forgejo_db_password".owner = "forgejo"; # Use UEFI boot.loader.systemd-boot.enable = true; diff --git a/meta/profiles/base.nix b/meta/profiles/base.nix index 7d5c927..f86da25 100644 --- a/meta/profiles/base.nix +++ b/meta/profiles/base.nix @@ -1,5 +1,7 @@ {lib, config, pkgs, ...}: { - + imports = [ + ../modules/sops + ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.config.allowUnfree = true; @@ -26,4 +28,4 @@ curl htop ]; -} \ No newline at end of file +}