1
0
Fork 0

update(services): update to use flakeRoot for paths

This commit is contained in:
Philipp 2025-05-31 17:55:58 +02:00
parent 40a9483bd0
commit f86394d5a2
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
4 changed files with 20 additions and 5 deletions

View file

@ -0,0 +1,16 @@
{
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
{
options.flakeRoot = mkOption {
type = types.str;
description = "Path to the flake root directory.";
};
config.flakeRoot = "${config.users.users.philipp.home}/Documents/nix-config";
}