diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-07-14 17:53:13 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-07-15 09:34:00 -0600 |
| commit | 02abf4ed0131237c25e0a10db50fa4c41a902a50 (patch) | |
| tree | 20904894fc0952806e341cdaff5941e81b3ce51c /sys/users.nix | |
| parent | 08e746700341dda3e3bdf704332fc3c07053d3e7 (diff) | |
sys: final merge of dmz, hv into sys
Diffstat (limited to 'sys/users.nix')
| -rw-r--r-- | sys/users.nix | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/sys/users.nix b/sys/users.nix deleted file mode 100644 index 1fda5fc..0000000 --- a/sys/users.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib, config, pkgs, ... }: -with lib; let - cfg = config.local; -in -{ - config = { - sound.enable = true; - - hardware = { - bluetooth = { - enable = true; - powerOnBoot = false; - }; - - pulseaudio.enable = true; - }; - - services = { - libinput.enable = true; - - udev.packages = [ - pkgs.android-udev-rules - ]; - - xserver = { - enable = true; - videoDrivers = cfg.videoDrivers ++ [ "modesetting" "fbdev" ]; - displayManager.startx.enable = true; - }; - }; - - programs = { - dconf.enable = true; - zsh.enable = true; - }; - - environment.pathsToLink = [ "/share/zsh" ]; - - users.users = mapAttrs - (username: user: { - isNormalUser = true; - - inherit (user) uid; - description = user.gecos; - - group = username; - extraGroups = [ "users" ] ++ user.groups; - - shell = if user.allowLogin then pkgs.zsh else null; - }) - cfg.users; - - users.groups = mapAttrs (_: user: { inherit (user) gid; }) cfg.users // { - adbusers.gid = 1008; - }; - }; -} |
