forked from hacc/haccfiles
Revert 43d36bb3d7
This is a partial revert, reintroducing hexchen to the project. As it turns out, I am still quite invested in the project and require frequent access to the nix-based infrastructure.
This commit is contained in:
parent
aca670d778
commit
c36eb51ff4
3 changed files with 21 additions and 0 deletions
9
common/hexchen.nix
Normal file
9
common/hexchen.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{config, lib, pkgs, ...}:
|
||||
|
||||
let
|
||||
sources = import ../nix/sources.nix;
|
||||
in {
|
||||
imports = [
|
||||
(sources.nix-hexchen + "/users/hexchen")
|
||||
];
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -94,6 +94,7 @@ in {
|
|||
"zauberberg@hacc.space"
|
||||
];
|
||||
"admin@hacc.space" = [
|
||||
"hexchen@hacc.space"
|
||||
"schweby@hacc.space"
|
||||
"zauberberg@hacc.space"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue