Skip to content

Commit

Permalink
fix: put the homepage-dashboard secrets with the other assets
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Sep 17, 2024
1 parent 8a525e6 commit e5eb135
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions nixos/_mixins/services/homepage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ let
];
in
lib.mkIf (lib.elem "${hostname}" installOn) {
sops.secrets = {
homepage-env = {
mode = "0400";
owner = "root";
group = "root";
path = "/etc/homepage-dashboard/secrets.env";
};
};
services = {
homepage-dashboard = {
enable = true;
Expand Down
1 change: 0 additions & 1 deletion nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@
# sops-nix options: https://dl.thalheim.io/
secrets = {
test-key = { };
homepage-env = { };
};
};

Expand Down

0 comments on commit e5eb135

Please sign in to comment.