initial commit

This commit is contained in:
2026-08-15 16:21:08 -07:00
commit a67158f51b
24 changed files with 814 additions and 0 deletions

30
modules/core/users.nix Normal file
View File

@@ -0,0 +1,30 @@
{ pkgs, ... }:
{
users.defaultUserShell = pkgs.zsh;
programs.zsh = {
enable = true;
loginShellInit = ''
if [ -z "$DISPLAY" ] && [ "$TTY" = "/dev/tty1" ]; then
exec start-hyprland
fi
'';
};
users.users.anish = {
isNormalUser = true;
description = "Main Account";
extraGroups = [ "wheel" "networkmanager" "video" "audio" "gaming" "llm" ];
openssh.authorizedKeys.keys = [
# ssh-ed25519 AAAAA.... add my key here to enable ssh from another computer
];
};
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
}