diff --git a/common/hexchen.nix b/common/hexchen.nix new file mode 100644 index 0000000..e4ad471 --- /dev/null +++ b/common/hexchen.nix @@ -0,0 +1,9 @@ +{config, lib, pkgs, ...}: + +let + sources = import ../nix/sources.nix; +in { + imports = [ + (sources.nix-hexchen + "/users/hexchen") + ]; +} diff --git a/common/users.nix b/common/users.nix index c926449..e1cd07b 100644 --- a/common/users.nix +++ b/common/users.nix @@ -1,6 +1,10 @@ { config, pkgs, lib, ... }: { + imports = [ + ./hexchen.nix + ]; + home-manager.useGlobalPkgs = true; users.users = { @@ -8,6 +12,13 @@ openssh.authorizedKeys.keys = with pkgs.lib; concatLists (mapAttrsToList (name: user: if elem "wheel" user.extraGroups then user.openssh.authorizedKeys.keys else []) config.users.users); }; + # all the actual config is imported from hexchen's nixfiles + hexchen = { + uid = lib.mkForce 1000; + isNormalUser = true; + extraGroups = [ "wheel" ]; + }; + stuebinm = { uid = 1005; isNormalUser = true; diff --git a/hosts/hainich/services/mail.nix b/hosts/hainich/services/mail.nix index 1b6cf6e..b6ea1a4 100644 --- a/hosts/hainich/services/mail.nix +++ b/hosts/hainich/services/mail.nix @@ -94,6 +94,7 @@ in { "zauberberg@hacc.space" ]; "admin@hacc.space" = [ + "hexchen@hacc.space" "schweby@hacc.space" "zauberberg@hacc.space" ];