summaryrefslogtreecommitdiff
path: root/sys/core/users.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-24 16:21:00 +0100
committeradikro <adikro@disroot.org>2025-12-24 16:21:00 +0100
commit6aaa5993e4c1cfb205ed555d958702f9bba1770d (patch)
tree3af8cf20967cf10542edd2e51232b1da70002fde /sys/core/users.nix
parent2ceabfd1d1dc03ca895e960048b73a82e29e45e8 (diff)
a bunch of changes, renames sys to os and refactored some of the logic
Diffstat (limited to 'sys/core/users.nix')
-rw-r--r--sys/core/users.nix23
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/core/users.nix b/sys/core/users.nix
deleted file mode 100644
index fb4e7f0..0000000
--- a/sys/core/users.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ config, lib, pkgs, username, ... }:
-let
- cfg = config.sys.core.users;
-in
-{
- options.sys.core.users.enable = lib.mkEnableOption "enables user accounts";
- config = lib.mkIf cfg.enable {
- programs.fish.enable = true;
- users.users.${username} = {
- isNormalUser = true;
- shell = pkgs.fish;
-
- extraGroups = lib.mkMerge [
- [ "wheel" ]
-
- (lib.mkIf (config.sys.core.drivers.amd.enable or false) [ "video" "render" ])
- (lib.mkIf (config.sys.core.network.enable or false) [ "networkmanager" ])
- (lib.mkIf (config.sys.srv.kvm.enable or false) [ "libvirtd" ])
- (lib.mkIf (config.sys.srv.docker.enable or false) [ "docker" ])
- ];
- };
- };
-}