This commit is contained in:
commit
30ce0dafc2
195 changed files with 8902 additions and 0 deletions
29
users/rus07tam/system.nix
Normal file
29
users/rus07tam/system.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
pkgs,
|
||||
sec,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ ./secrets/system.nix ];
|
||||
|
||||
services.openssh.settings.AllowUsers = [ "rus07tam" ];
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.users.rus07tam = {
|
||||
isNormalUser = true;
|
||||
description = "rus07tam";
|
||||
uid = 1000;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
hashedPasswordFile = sec."rus07tam/hashedPassword".path;
|
||||
openssh.authorizedKeys = {
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPRVeP7aRYdbIku7Qr6dLFLQrcq8LUUTTpYZZ3E8ZoQK ruject@rus07tam"
|
||||
];
|
||||
};
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue