summaryrefslogtreecommitdiff
path: root/modules/software/users.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-11 00:52:32 -0700
committerFuwn <[email protected]>2024-09-11 00:52:32 -0700
commitb6956dd32fbe4bd6a83336a66c3ff73ec47c7b9c (patch)
tree5e61c8151b6cde865405d61fb9c1f7bd65c9f662 /modules/software/users.nix
parentBump: swift (diff)
downloadnixos-config-b6956dd32fbe4bd6a83336a66c3ff73ec47c7b9c.tar.xz
nixos-config-b6956dd32fbe4bd6a83336a66c3ff73ec47c7b9c.zip
Bump: i2p
Diffstat (limited to 'modules/software/users.nix')
-rw-r--r--modules/software/users.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/modules/software/users.nix b/modules/software/users.nix
new file mode 100644
index 0000000..4055353
--- /dev/null
+++ b/modules/software/users.nix
@@ -0,0 +1,42 @@
+{ pkgs, ... }:
+let
+ initialPassword = "123456";
+in
+{
+ users.users = {
+ root = {
+ inherit initialPassword;
+
+ shell = pkgs.bash;
+ };
+
+ ebisu = {
+ inherit initialPassword;
+
+ 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"
+ ];
+ };
+ };
+}