+2
-4
flake.nix
+2
-4
flake.nix
···
297
environment.systemPackages = with pkgs; [ git ];
298
299
users.users.git = {
300
-
isSystemUser = true;
301
home = "/home/git";
302
createHome = true;
303
-
shell = "${pkgs.shadow}/bin/nologin";
304
uid = 1000;
305
group = "git";
306
-
extraGroups = ["sudo"];
307
};
308
309
users.groups.git = {};
···
321
mode = "0555";
322
text = ''
323
#!${pkgs.stdenv.shell}
324
-
${pkgs.keyfetch}/bin/keyfetch -repoguard-path ${pkgs.repoguard}/bin/repoguard -log-path /home/git/repoguard.log
325
'';
326
};
327
···
297
environment.systemPackages = with pkgs; [ git ];
298
299
users.users.git = {
300
+
isNormalUser = true;
301
home = "/home/git";
302
createHome = true;
303
uid = 1000;
304
group = "git";
305
};
306
307
users.groups.git = {};
···
319
mode = "0555";
320
text = ''
321
#!${pkgs.stdenv.shell}
322
+
${pkgs.keyfetch}/bin/keyfetch -repoguard-path ${pkgs.repoguard}/bin/repoguard -log-path /tmp/repoguard.log
323
'';
324
};
325