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