Finished Some parents Machine STuff

This commit is contained in:
Annika Merris 2024-09-04 19:08:47 -04:00
parent 24d29781ee
commit a7a85e46fc
3 changed files with 36 additions and 2 deletions

View file

@ -0,0 +1,32 @@
{ config, lib, pkgs, ... }:
{
sops.secrets.annika_password.neededForUsers = true;
users.users.moosetheory = {
isNormalUser = true;
home = "/home/moosetheory";
description = "David Merris";
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9NhsAOBwWBdBeenfaPoRtqQrAIgg7E5m4sKYQU9cFx annika@kim" ];
hashedPasswordFile = config.sops.secrets.annika_password.path;
};
home-manager.users.moosetheory = {
programs = {
direnv = {
enable = true;
enableBashIntegration = true;
nix-direnv.enable = true;
};
bash = {
enable = true;
shellAliases = {
s = "kitten ssh";
la = "ls -a";
ll = "ls -l";
lal = "ls -la";
cls = "clear && ls";
};
};
};
};
}