feat(pluto): add zoey user

This commit is contained in:
zack 2024-07-10 10:49:29 -04:00
parent 62ab44b743
commit e83fab4a93
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
2 changed files with 98 additions and 1 deletions

View file

@ -0,0 +1,76 @@
{
inputs,
pkgs,
system,
lib,
...
}: {
apps = {
tools.git.enable = true;
tools.tmux.enable = true;
tools.neovim.enable = true;
tools.starship.enable = true;
tools.skim.enable = true;
tools.direnv.enable = true;
tools.tealdeer.enable = true;
tools.bat.enable = true;
};
shells.zsh.enable = true;
xdg.enable = true;
programs = {
gpg.enable = true;
man.enable = true;
eza.enable = true;
dircolors = {
enable = true;
enableZshIntegration = true;
};
};
# catppuccin.enable = true;
home.packages = [
pkgs.mosh
pkgs.nix-output-monitor
pkgs.fastfetch
pkgs.nh
pkgs.killall
pkgs.custom.rebuild
];
programs.zoxide = {
enable = true;
enableZshIntegration = true;
options = ["--cmd cd"];
};
programs.cava = {
enable = true;
catppuccin.enable = true;
};
programs.btop = {
enable = true;
catppuccin.enable = true;
extraConfig = ''
update_ms = 100
vim_keys = true
'';
};
programs.lazygit = {
enable = true;
catppuccin.enable = true;
};
programs.fzf = {
enable = true;
catppuccin.enable = true;
};
}

View file

@ -12,7 +12,7 @@
]; ];
nix.settings = { nix.settings = {
trusted-users = ["zack"]; trusted-users = ["zoey"];
}; };
# Bootloader. # Bootloader.
@ -85,6 +85,18 @@
]; ];
}; };
users.users.zoey = {
isNormalUser = true;
description = "zoey";
extraGroups = ["networkmanager" "wheel" "docker"];
shell = pkgs.zsh;
packages = with pkgs; [];
hashedPassword = "$6$rounds=2000000$673Iz4rM8Dr9yz7C$Xq5JXxE7ioUrpZmMf3uTrPN2ODrEu3Sph6EhWyPoM5Ty./FhgB9hU0mz1yYo8sUj7wdUMWfR98haVJ24Wv3BK/";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILOThndTuZC0H+aHfTr2FrFr4KaYfvZ4MCA/W+POUHtW zoey@earth"
];
};
users.users.alfie = { users.users.alfie = {
isNormalUser = true; isNormalUser = true;
description = "alfie"; description = "alfie";
@ -118,6 +130,15 @@
}; };
}; };
snowfallorg.users.zoey = {
create = true;
admin = false;
home = {
enable = true;
};
};
snowfallorg.users.alfie = { snowfallorg.users.alfie = {
create = true; create = true;
admin = false; admin = false;