This commit is contained in:
commit
30ce0dafc2
195 changed files with 8902 additions and 0 deletions
19
users/macan/system.nix
Normal file
19
users/macan/system.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.openssh.settings.AllowUsers = [ "macan" ];
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.users.macan = {
|
||||
isNormalUser = true;
|
||||
description = "macan";
|
||||
uid = 1002;
|
||||
extraGroups = [ ];
|
||||
openssh.authorizedKeys = {
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID+VwmEaHwGHqoSlyWgOZDEc0eSMIcr0vNAHNeqWUone macan"
|
||||
];
|
||||
};
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue