aboutsummaryrefslogtreecommitdiffstats
path: root/users.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-08 17:33:02 +0100
committerene <ene@sils.li>2023-02-08 17:33:02 +0100
commitc50431b189e982a631d2d4864b304f33169bacdb (patch)
tree164c350e503c7dfda585ed505536b08882e00323 /users.nix
parentMerge pull request 'Imported the headless profile' (#13) from server1_headles... (diff)
parentMerge branch 'server1_minecraft2' into server1 (diff)
downloadnixos-server-c50431b189e982a631d2d4864b304f33169bacdb.zip
Merge pull request 'Merge to server1' (#16) from server1_develop into server1
Reviewed-on: https://git.sils.li/vhack.eu/nixos-server/pulls/16
Diffstat (limited to 'users.nix')
-rw-r--r--users.nix59
1 files changed, 0 insertions, 59 deletions
diff --git a/users.nix b/users.nix
deleted file mode 100644
index 34e1648..0000000
--- a/users.nix
+++ /dev/null
@@ -1,59 +0,0 @@
-{pkgs, ...}: {
- users.mutableUsers = false;
- users.defaultUserShell = pkgs.zsh;
-
- users.users = {
- root = {
- #uid = 0;
- #initialHashedPassword = null; # to lock root
- # Backup, if something happens. TODO remove this later
- openssh.authorizedKeys.keys = [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG63gxw8JePmrC8Fni0pLV4TnPBhCPmSV9FYEdva+6s7 sils"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGBFuTNNn71Rhfnop2cdz3r/RhWWlCePnSBOhTBbu2ME soispha"
- ];
- };
-
- sils = {
- name = "sils";
- isNormalUser = true;
- home = "/srv/home/sils";
- initialHashedPassword = "$y$jFT$KpFnahVCE9JbE.5P3us8o.$ZzSxCusWqe3sL7b6DLgOXNNUf114tiiptM6T8lDxtKC"; # TODO CHANGE
- uid = 1000;
- extraGroups = [
- "wheel"
- ];
- openssh.authorizedKeys.keys = [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG63gxw8JePmrC8Fni0pLV4TnPBhCPmSV9FYEdva+6s7 sils"
- ];
- };
-
- soispha = {
- name = "soispha";
- isNormalUser = true;
- home = "/srv/home/soispha";
- initialHashedPassword = "$y$jFT$3.8XmUyukZvpExMUxDZkI.$IVrJgm8ysNDF/0vDD2kF6w73ozXgr1LMVRNN4Bq7pv1";
- uid = 1001;
- extraGroups = [
- "wheel"
- ];
- openssh.authorizedKeys.keys = [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGBFuTNNn71Rhfnop2cdz3r/RhWWlCePnSBOhTBbu2ME soispha"
- ];
- };
-
- nightingale = {
- name = "nightingale";
- isNormalUser = true;
- home = "/srv/home/nightingale";
- initialHashedPassword = null; # TODO CHANGE
- uid = 1002;
- extraGroups = [
- "wheel"
- ];
- openssh.authorizedKeys.keys = [
- ];
- };
- };
-}
-# vim: ts=2
-