diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-10-31 10:26:36 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 00:28:58 +0100 |
| commit | 0741b725fd42a459ced264494284643efadf391a (patch) | |
| tree | 49abad654750b3b3717735a6b36f2cda98894599 /modules/common | |
| parent | modules/openssh: Default enable to true (diff) | |
| download | nixos-server-0741b725fd42a459ced264494284643efadf391a.zip | |
{modules/users,common/vhack}: Don't define users in user module
This change also switches the default shell to fish. That should work,
and make the shell a litter more useful.
Diffstat (limited to '')
| -rw-r--r-- | modules/common/vhack/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/common/vhack/default.nix b/modules/common/vhack/default.nix new file mode 100644 index 0000000..0b8b060 --- /dev/null +++ b/modules/common/vhack/default.nix @@ -0,0 +1,21 @@ +{...}: { + vhack.users = { + enable = true; + users = [ + { + name = "soispha"; + groups = ["wheel"]; + uid = 1000; + password = "$y$jFT$3.8XmUyukZvpExMUxDZkI.$IVrJgm8ysNDF/0vDD2kF6w73ozXgr1LMVRNN4Bq7pv1"; + sshKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIME4ZVa+IoZf6T3U08JG93i6QIAJ4amm7mkBzO14JSkz cardno:000F_18F83532"; + } + { + name = "jaki"; + uid = 1001; + groups = ["wheel"]; + password = "$y$jFT$KpFnahVCE9JbE.5P3us8o.$ZzSxCusWqe3sL7b6DLgOXNNUf114tiiptM6T8lDxtKC"; + sshKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILn7Oumr5IYtTTIKRFvDnofGXXiDLBQE9jVF+7UE+4G5 vhack.eu"; + } + ]; + }; +} |
