Sync
This commit is contained in:
parent
c1025627ae
commit
cef3a949fe
40 changed files with 3401 additions and 158 deletions
18
users/apps/default.nix
Normal file
18
users/apps/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homelab.users.apps;
|
||||
in {
|
||||
options.homelab.users.apps.enable = lib.mkEnableOption "user Apps";
|
||||
|
||||
config.users = lib.mkIf cfg.enable {
|
||||
groups.apps.gid = lib.mkForce 568;
|
||||
users.apps = {
|
||||
uid = lib.mkForce 568;
|
||||
isSystemUser = true;
|
||||
group = config.users.groups.apps.name;
|
||||
home = "/var/empty";
|
||||
shell = null;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue