fix the if statement

This commit is contained in:
Squibid 2026-01-11 17:27:59 -05:00
parent cc887fdc72
commit 6775bf772a
Signed by: squibid
GPG key ID: BECE5684D3C4005D

View file

@ -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;