fix the if statement
This commit is contained in:
parent
cc887fdc72
commit
6775bf772a
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
cfg = config.services.fooud;
|
cfg = config.services.fooud;
|
||||||
in lib.mkIf cfg.enable {
|
in lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [ git ];
|
environment.systemPackages = with pkgs; [ git ];
|
||||||
users.users."${cfg.user}" = lib.mkIf cfg.user != "root" {
|
users.users."${cfg.user}" = lib.mkIf (cfg.user != "root") {
|
||||||
group = "${cfg.user}";
|
group = "${cfg.user}";
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue