b447282c7a
* feat: add test node and spin up podman/cockpit * dev hack * bug: disable wayland temporarily #52 * feat: add nfs mount to nas * chore: add nas to sshconf * derp * hax * fix: hax * feat: firefox and gnome tweaks * chore: tweak nautilus --------- Co-authored-by: Truxnell <9149206+truxnell@users.noreply.github.com>
32 lines
726 B
Nix
32 lines
726 B
Nix
{ pkgs
|
|
, config
|
|
, ...
|
|
}:
|
|
let
|
|
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
|
in
|
|
{
|
|
users.users.truxnell = {
|
|
isNormalUser = true;
|
|
shell = pkgs.fish;
|
|
# passwordFile = config.sops.secrets.taylor-password.path;
|
|
# initialHashedPassword = ""; # TODO add key
|
|
extraGroups =
|
|
[
|
|
"wheel"
|
|
]
|
|
++ ifTheyExist [
|
|
"network"
|
|
"samba-users"
|
|
"docker"
|
|
"audio" # pulseaudio
|
|
];
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZS9J1ydflZ4iJdJgO8+vnN8nNSlEwyn9tbWU9OcysW truxnell@home"
|
|
]; # TODO do i move to ingest github creds?
|
|
|
|
# packages = [ pkgs.home-manager ];
|
|
};
|
|
|
|
}
|