flake parts, migrated modules
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user