ensure we have git installed

This commit is contained in:
Squibid 2026-01-11 17:12:37 -05:00
parent a8e9884c3c
commit 2bd18ab7ca
Signed by: squibid
GPG key ID: BECE5684D3C4005D
2 changed files with 2 additions and 1 deletions

0
lib.nix Normal file
View file

View file

@ -27,7 +27,8 @@
config = let config = let
cfg = config.services.fooud; cfg = config.services.fooud;
in lib.mkIf cfg.enable { in lib.mkIf cfg.enable {
users.users."${cfg.user}" = { environment.systemPackages = with pkgs; [ git ];
users.users."${cfg.user}" = lib.mkIf cfg.user != "root" {
group = "${cfg.user}"; group = "${cfg.user}";
isSystemUser = true; isSystemUser = true;
createHome = true; createHome = true;