Compare commits
2 commits
99469fc6c6
...
084bf3eb17
Author | SHA1 | Date | |
---|---|---|---|
084bf3eb17 | |||
6fc1c562a8 |
1 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
||||||
{ isLinux }:
|
{ isLinux }:
|
||||||
{ lib, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.settei.remote-builder;
|
cfg = config.settei.remote-builder;
|
||||||
|
|
||||||
|
@ -20,7 +25,7 @@ let
|
||||||
users.groups.${cfg.user} = { };
|
users.groups.${cfg.user} = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkMerge [
|
mergedConfig = lib.mkMerge [
|
||||||
sharedConfig
|
sharedConfig
|
||||||
linuxConfig
|
linuxConfig
|
||||||
];
|
];
|
||||||
|
@ -40,5 +45,5 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable config;
|
config = lib.mkIf cfg.enable mergedConfig;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue