setup repo structure (& test system config)

This commit is contained in:
lilly 2025-01-25 22:24:37 +01:00
commit 67c2250833
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
12 changed files with 573 additions and 0 deletions

28
modules/user_account.nix Normal file
View 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;
};
}