Add user attribute isNormalUser

This is shorthand for setting group, createHome, home, useDefaultShell
and isSystemUser.
This commit is contained in:
Eelco Dolstra
2014-08-15 02:16:04 +02:00
parent 1a75958be5
commit a323d146b7
5 changed files with 33 additions and 21 deletions
+2 -4
View File
@@ -1,11 +1,9 @@
{ pkgs, ... }:
{ users.extraUsers = pkgs.lib.singleton
{ name = "alice";
{ isNormalUser = true;
name = "alice";
description = "Alice Foobar";
home = "/home/alice";
createHome = true;
useDefaultShell = true;
password = "foobar";
uid = 1000;
};