Reorganize files into folders

This commit is contained in:
Vili Sinervä 2024-06-06 16:53:15 +03:00
parent 951d5641a0
commit d354c5d205
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
9 changed files with 6 additions and 6 deletions

26
users/vili.nix Normal file
View file

@ -0,0 +1,26 @@
#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;
};
}