migrate www config
This commit is contained in:
parent
3f072e5ecf
commit
bfd37e1389
5 changed files with 99 additions and 11 deletions
12
flake.nix
12
flake.nix
|
|
@ -108,6 +108,18 @@
|
|||
#pkgs = import nixpkgs { inherit system; };
|
||||
inherit system;
|
||||
modules = [
|
||||
agenix.nixosModules.default
|
||||
{ environment.systemPackages = [ (agenix.packages.${system}.default) ]; }
|
||||
{
|
||||
age.secrets = {
|
||||
www-staging-htpasswd = {
|
||||
file = ./secrets/www-staging-htpasswd.age;
|
||||
owner = "nginx";
|
||||
group = "nginx";
|
||||
mode = "0440";
|
||||
};
|
||||
};
|
||||
}
|
||||
./hosts/www
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue