Initial commit

This commit is contained in:
2024-11-25 08:49:13 -06:00
commit feeeba6221
4 changed files with 106 additions and 0 deletions

21
users.nix Normal file
View File

@@ -0,0 +1,21 @@
{ stateVersion, userName, repoPath, ... }:
{
users.users.${userName} = {
isNormalUser = true;
extraGroups = [
"wheel" # needed for sudo without password
"docker" # needed for docker without sudo
];
openssh.authorizedKeys.keyFiles = [
"/root/.ssh/authorized_keys" # should already have your public SSH key inside
];
};
home-manager = {
useGlobalPkgs = true;
users.${userName} = {
home.stateVersion = stateVersion;
imports = [ (import ./git.nix { inherit repoPath; }) ];
};
};
}