Add Rupert’s configuration
This commit is contained in:
commit
2b4264d32d
31 changed files with 1742 additions and 0 deletions
19
base/users.nix
Normal file
19
base/users.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
definedInPersonalDotNix = lib.mkDefault (throw "Configuration option missing from personal.nix");
|
||||
in
|
||||
{
|
||||
users.users = {
|
||||
fruchti = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" "audio" "video" ];
|
||||
openssh.authorizedKeys.keys = definedInPersonalDotNix;
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
};
|
||||
users.extraGroups = {
|
||||
system = {
|
||||
members = [ "fruchti" ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue