From 0e65b231bdf860e4e3236bee16b408e11f8c63f9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 30 Sep 2015 23:54:10 +0200 Subject: +mherold --- users.nix | 9 ++++++--- users/mherold.nix | 7 +++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 users/mherold.nix diff --git a/users.nix b/users.nix index f7be23f4..9c4178af 100644 --- a/users.nix +++ b/users.nix @@ -1,10 +1,13 @@ {config, ...}: let - xmppUsers = []; + xmppUsers = { + "mherold" = import ./users/mherold.nix; + }; in { users.mutableUsers = false; users.defaultUserShell = "/run/current-system/sw/bin/zsh"; - users.extraUsers = builtins.listToAttrs (map (name: { inherit name; value = import (./users/${name}.nix) {}; }) - ["gkleen"] ++ (if config.networking.hostName == "ymir" then xmppUsers else [])); + users.extraUsers = { + "gkleen" = import ./users/gkleen.nix; + } // (if config.networking.hostName == "ymir" then xmppUsers else {})); } diff --git a/users/mherold.nix b/users/mherold.nix new file mode 100644 index 00000000..13d0bddb --- /dev/null +++ b/users/mherold.nix @@ -0,0 +1,7 @@ +{ + name = "mherold"; + description = "Magdalena Herold"; + extraGroups = ["xmpp"]; + group = "users"; + hashedPassword = "$6$rounds=500000$9PO7z8.b$zJqLUo9rR5p.IKdEbXX.x1OYY0EAx21hE7e18RQ6cNB389or9PSxD841.mIz3nLMVjFOS.p9B5zk7hRdkUHqF1"; +} -- cgit v1.2.3