setup repo structure (& test system config)
This commit is contained in:
commit
67c2250833
12 changed files with 573 additions and 0 deletions
28
modules/user_account.nix
Normal file
28
modules/user_account.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
modulesPath,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.users.noc = {
|
||||
createHome = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
];
|
||||
home = "/home/noc";
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPaVpSL8G9Gs16bSNn9tDl29PiN0SwYZuYCMkp9baSua lilly"
|
||||
];
|
||||
hashedPassword = "$y$j9T$V7Fvq4uxK/NywaPgqsTgx1$K4/tlsLOHCONtuG5CrQpv5.4/UPsjrtdWeal/qp1UwD";
|
||||
isNormalUser = true;
|
||||
};
|
||||
|
||||
home-manager.users.noc = {
|
||||
home.preferXdgDirectories = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue