2020-09-30 23:30:40 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
|
|
passwordFile = pkgs.privatePath "pam-login-password";
|
|
|
|
openssh.authorizedKeys.keys = pkgs.privateValue [ ] "ssh-keys";
|
2021-05-18 14:33:28 +00:00
|
|
|
in
|
|
|
|
{
|
2019-07-26 15:31:26 +00:00
|
|
|
users.users = {
|
2020-09-30 23:30:40 +00:00
|
|
|
maralorn = {
|
|
|
|
description = "maralorn";
|
2018-02-08 23:51:40 +00:00
|
|
|
isNormalUser = true;
|
|
|
|
uid = 1000;
|
2019-11-25 01:09:57 +00:00
|
|
|
extraGroups =
|
|
|
|
[ "wheel" "systemd-journal" "networkmanager" "docker" "video" ];
|
2020-09-30 23:30:40 +00:00
|
|
|
inherit openssh passwordFile;
|
2018-02-08 23:51:40 +00:00
|
|
|
};
|
2020-09-30 23:30:40 +00:00
|
|
|
root = { inherit openssh passwordFile; };
|
2018-02-08 23:51:40 +00:00
|
|
|
};
|
|
|
|
}
|