flake parts, migrated modules

This commit is contained in:
Danilo Reyes
2025-10-12 13:41:48 -06:00
parent 6497dede6f
commit 6f97b24115
41 changed files with 359 additions and 166 deletions

View File

@@ -1,5 +1,6 @@
{
lib,
inputs,
config,
pkgs,
...
@@ -7,7 +8,6 @@
let
cfg = config.my.servers.stash;
cfgS = config.services.stash;
setup = import ../factories/mkserver.nix { inherit lib config; };
stashPythonFHS = pkgs.buildFHSEnv {
name = "stash-python-fhs";
targetPkgs =
@@ -28,7 +28,7 @@ let
};
in
{
options.my.servers.stash = setup.mkOptions "stash" "xxx" 9999;
options.my.servers.stash = inputs.self.lib.mkServerOptions "stash" "xxx" 9999 lib;
config = lib.mkIf (cfg.enable && config.my.secureHost) {
sops.secrets = {
"stash/password".sopsFile = ../../secrets/secrets.yaml;