diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 14:51:54 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 14:57:41 +0200 |
commit | ccae7987be59b8a30e98f0429bd78479f6f7c7bc (patch) | |
tree | 88f1e7978e8911fbc6a34abff3ee7da21c237da8 /flakes/private/system | |
parent | 3274fe3012a87fce2b2b7e9c34b8928c94b26187 (diff) | |
download | Nix-ccae7987be59b8a30e98f0429bd78479f6f7c7bc.tar.gz Nix-ccae7987be59b8a30e98f0429bd78479f6f7c7bc.tar.zst Nix-ccae7987be59b8a30e98f0429bd78479f6f7c7bc.zip |
Move dilion user to private
Diffstat (limited to 'flakes/private/system')
-rw-r--r-- | flakes/private/system/flake.lock | 2 | ||||
-rw-r--r-- | flakes/private/system/flake.nix | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/flakes/private/system/flake.lock b/flakes/private/system/flake.lock index 27bcc99..052217d 100644 --- a/flakes/private/system/flake.lock +++ b/flakes/private/system/flake.lock | |||
@@ -19,7 +19,7 @@ | |||
19 | "environment": { | 19 | "environment": { |
20 | "locked": { | 20 | "locked": { |
21 | "lastModified": 1, | 21 | "lastModified": 1, |
22 | "narHash": "sha256-SukW363CI7QkbzoWtogiuh1IOUQNRZgj7fwxtIqU9Us=", | 22 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", |
23 | "path": "../environment", | 23 | "path": "../environment", |
24 | "type": "path" | 24 | "type": "path" |
25 | }, | 25 | }, |
diff --git a/flakes/private/system/flake.nix b/flakes/private/system/flake.nix index 04ebbc7..e40328f 100644 --- a/flakes/private/system/flake.nix +++ b/flakes/private/system/flake.nix | |||
@@ -54,17 +54,7 @@ | |||
54 | ''; | 54 | ''; |
55 | 55 | ||
56 | users.groups.acme.gid = myuids.lib.gids.acme; | 56 | users.groups.acme.gid = myuids.lib.gids.acme; |
57 | users.users = | 57 | users.users.acme.uid = myuids.lib.uids.acme; |
58 | builtins.listToAttrs (map (x: lib.attrsets.nameValuePair x.name ({ | ||
59 | isNormalUser = true; | ||
60 | home = "/home/${x.name}"; | ||
61 | createHome = true; | ||
62 | linger = true; | ||
63 | # Enable in latest unstable homeMode = "755"; | ||
64 | } // x)) (config.hostEnv.users pkgs)) | ||
65 | // { | ||
66 | acme.uid = myuids.lib.uids.acme; | ||
67 | }; | ||
68 | environment.systemPackages = [ | 58 | environment.systemPackages = [ |
69 | pkgs.inetutils | 59 | pkgs.inetutils |
70 | pkgs.htop | 60 | pkgs.htop |