summaryrefslogtreecommitdiff
path: root/modules/software/users.nix
diff options
context:
space:
mode:
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"
+ ];
+ };
+ };
+}