ensure we have git installed
This commit is contained in:
parent
a8e9884c3c
commit
2bd18ab7ca
2 changed files with 2 additions and 1 deletions
0
lib.nix
Normal file
0
lib.nix
Normal file
|
|
@ -27,7 +27,8 @@
|
|||
config = let
|
||||
cfg = config.services.fooud;
|
||||
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}";
|
||||
isSystemUser = true;
|
||||
createHome = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue