WIP share configuraton between nixos / homemanager

This commit is contained in:
Leon Schwarzäugl 2025-07-16 18:23:00 +02:00
parent 641a0cd84d
commit a1617e71bd
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
165 changed files with 994 additions and 1032 deletions

View file

@ -25,8 +25,8 @@ let
};
in
{
options.swarselmodules.optional.work = lib.mkEnableOption "optional work settings";
options.swarselsystems = {
modules.optional.work = lib.mkEnableOption "optional work settings";
hostName = lib.mkOption {
type = lib.types.str;
default = "";
@ -36,7 +36,7 @@ in
default = "";
};
};
config = lib.mkIf config.swarselsystems.modules.optional.work {
config = lib.mkIf config.swarselmodules.optional.work {
sops =
let
secretNames = [