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 }:
|
{ isLinux }:
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
cfg = config.settei.remote-builder;
|
cfg = config.settei.remote-builder;
|
||||||
|
|
||||||
|
@ -25,7 +20,7 @@ let
|
||||||
users.groups.${cfg.user} = { };
|
users.groups.${cfg.user} = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
mergedConfig = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
sharedConfig
|
sharedConfig
|
||||||
linuxConfig
|
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