Init
This commit is contained in:
commit
be23132d54
13 changed files with 1784 additions and 0 deletions
20
vili.nix
Normal file
20
vili.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
#Config for main user 'vili'
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
users.users.vili = {
|
||||
isNormalUser = true;
|
||||
home = "/home/vili";
|
||||
description = "Vili Sinervä";
|
||||
uid = 1000;
|
||||
extraGroups = [ "wheel" "networkmanager" "audio" ];
|
||||
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBbGREoK1uVny1s8FK3KZ74Wmaf0VtifhqPyK69C/Gez vili@helium" ];
|
||||
hashedPasswordFile = "/home/vili/.hashedPasswordFile";
|
||||
};
|
||||
|
||||
users.groups.vili.gid = 1000;
|
||||
|
||||
programs.ssh = {
|
||||
startAgent = true;
|
||||
enableAskPassword = false;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue