From 08d4be5b51bb595e55555cc93c47f7adc77ed1c3 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 22 Sep 2024 15:15:46 -0700 Subject: core: move harware and software to desktop --- modules/desktop/software/users.nix | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 modules/desktop/software/users.nix (limited to 'modules/desktop/software/users.nix') diff --git a/modules/desktop/software/users.nix b/modules/desktop/software/users.nix new file mode 100644 index 0000000..ab3fe03 --- /dev/null +++ b/modules/desktop/software/users.nix @@ -0,0 +1,46 @@ +{ pkgs, secrets, ... }: +let + initialHashedPassword = secrets.initial_hashed_password; +in +{ + users = { + mutableUsers = false; + + users = { + root = { + inherit initialHashedPassword; + + shell = pkgs.bash; + }; + + ebisu = { + inherit initialHashedPassword; + + isNormalUser = true; + shell = pkgs.fish; + + extraGroups = [ + "wheel" + "systemd-journal" + "audio" + "video" + "input" + "plugdev" + "lp" + "tss" + "power" + "nix" + "network" + "networkmanager" + "wireshark" + "mysql" + "docker" + "podman" + "git" + "libvirtd" + "kvm" + ]; + }; + }; + }; +} -- cgit v1.2.3