Refactor/home packages and gui modules #81

Merged
Richie merged 2 commits from refactor/home-packages-and-gui-modules into main 2026-09-12 11:23:36 -04:00
18 changed files with 6 additions and 256 deletions
-1
View File
@@ -3,7 +3,6 @@
imports = [ imports = [
"${inputs.self}/users/math" "${inputs.self}/users/math"
"${inputs.self}/users/richie" "${inputs.self}/users/richie"
"${inputs.self}/users/steve"
"${inputs.self}/common/global" "${inputs.self}/common/global"
"${inputs.self}/common/optional/docker.nix" "${inputs.self}/common/optional/docker.nix"
"${inputs.self}/common/optional/monitoring-agent.nix" "${inputs.self}/common/optional/monitoring-agent.nix"
+1 -2
View File
@@ -1,4 +1,4 @@
{ inputs, lib, ... }: { inputs, ... }:
let let
vars = import ./vars.nix; vars = import ./vars.nix;
in in
@@ -6,7 +6,6 @@ in
imports = [ imports = [
"${inputs.self}/users/math" "${inputs.self}/users/math"
"${inputs.self}/users/richie" "${inputs.self}/users/richie"
"${inputs.self}/users/steve"
"${inputs.self}/common/global" "${inputs.self}/common/global"
"${inputs.self}/common/optional/docker.nix" "${inputs.self}/common/optional/docker.nix"
"${inputs.self}/common/optional/monitoring-agent.nix" "${inputs.self}/common/optional/monitoring-agent.nix"
+1 -38
View File
@@ -3,54 +3,17 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# cli # cli
bat bat
btop
eza
fd
ffmpegthumbnailer
fzf fzf
git git
gnupg
imagemagick
jq jq
ncdu ncdu
ouch fastfetch
p7zip p7zip
poppler
rar rar
ripgrep
starship
tmux
unzip unzip
yazi
zoxide zoxide
# system info
hwloc
lynis
pciutils
smartmontools
usbutils
# networking
iperf3
nmap
wget
# python # python
ruff ruff
uv uv
# nodejs
nodejs
# Rust packages
trunk
wasm-pack
cargo-watch
cargo-generate
cargo-audit
cargo-update
# nix
nix-init
nix-output-monitor
nix-prefetch
nix-tree
nixfmt
treefmt
]; ];
} }
+4 -4
View File
@@ -1,12 +1,12 @@
{ inputs, pkgs, ... }: { pkgs, ... }:
{ {
imports = [ imports = [
"${inputs.self}/users/shared/comms.nix" ./comms.nix
"${inputs.self}/users/shared/games.nix"
"${inputs.self}/users/shared/sweet.nix"
./firefox ./firefox
./games.nix
./kitty.nix ./kitty.nix
./llm_tools.nix ./llm_tools.nix
./sweet.nix
./t3_code ./t3_code
./vscode ./vscode
]; ];
-13
View File
@@ -3,21 +3,14 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# cli # cli
bat bat
fd
ffmpegthumbnailer
fzf fzf
git git
gnupg
imagemagick
jq jq
ncdu ncdu
fastfetch fastfetch
ouch
p7zip p7zip
poppler
rar rar
unzip unzip
yazi
zoxide zoxide
# Home Assistant # Home Assistant
esphome esphome
@@ -35,8 +28,6 @@
# python # python
ruff ruff
uv uv
# nodejs
nodejs
# Rust packages # Rust packages
bacon bacon
cargo cargo
@@ -51,9 +42,6 @@
rustfmt rustfmt
trunk trunk
wasm-pack wasm-pack
# cpp
clang-tools
clang_20
# nix # nix
nix-init nix-init
nix-output-monitor nix-output-monitor
@@ -61,6 +49,5 @@
nix-tree nix-tree
nixfmt nixfmt
treefmt treefmt
codebase-memory-mcp
]; ];
} }
-44
View File
@@ -1,44 +0,0 @@
{
pkgs,
config,
...
}:
let
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in
{
users = {
users.steve = {
isNormalUser = true;
shell = pkgs.zsh;
group = "steve";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJH03VzDbUhzfhvwD+OsYh6GobODYaI9jdNdzWQoqFsp matth@Jove" # cspell:disable-line
];
extraGroups = [
"audio"
"video"
"wheel"
"users"
]
++ ifTheyExist [
"dialout"
"docker"
"hass"
"libvirtd"
"networkmanager"
"plugdev"
"scanner"
"transmission"
"uaccess"
"wireshark"
];
uid = 1005;
};
groups.steve.gid = 1005;
};
home-manager.users.steve = import ./systems/${config.networking.hostName}.nix;
}
-9
View File
@@ -1,9 +0,0 @@
{
imports = [
./direnv.nix
./git.nix
./zsh.nix
];
programs.starship.enable = true;
}
-8
View File
@@ -1,8 +0,0 @@
{
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
}
-15
View File
@@ -1,15 +0,0 @@
{
programs.git = {
enable = true;
signing.format = null;
settings = {
user = {
email = "matthew.michal11@gmail.com";
name = "Matthew Michal";
};
pull.rebase = true;
color.ui = true;
};
lfs.enable = true;
};
}
-28
View File
@@ -1,28 +0,0 @@
{
programs.zsh = {
enable = true;
syntaxHighlighting.enable = true;
history.size = 10000;
oh-my-zsh = {
enable = true;
plugins = [
"git"
"docker"
"docker-compose"
"colored-man-pages"
"rust"
"systemd"
"tmux"
"ufw"
"z"
];
};
shellAliases = {
"lrt" = "eza --icons -lsnew";
"ls" = "eza";
"ll" = "eza --long --group";
"la" = "eza --all";
};
};
}
-22
View File
@@ -1,22 +0,0 @@
{ config, ... }:
{
imports = [
./cli
./programs.nix
./ssh_config.nix
];
programs = {
home-manager.enable = true;
git.enable = true;
};
home = {
username = "steve";
homeDirectory = "/home/${config.home.username}";
stateVersion = "24.05";
sessionVariables = {
FLAKE = "$HOME/dotfiles";
};
};
}
-56
View File
@@ -1,56 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
# cli
bat
btop
eza
fd
ffmpegthumbnailer
fzf
git
gnupg
imagemagick
jq
ncdu
ouch
p7zip
poppler
rar
ripgrep
starship
tmux
unzip
yazi
zoxide
# system info
hwloc
lynis
pciutils
smartmontools
usbutils
# networking
iperf3
nmap
wget
# python
ruff
uv
# nodejs
nodejs
# Rust packages
trunk
wasm-pack
cargo-watch
cargo-generate
cargo-audit
cargo-update
# nix
nix-init
nix-output-monitor
nix-prefetch
nix-tree
nixfmt
treefmt
];
}
-6
View File
@@ -1,6 +0,0 @@
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
};
}
-5
View File
@@ -1,5 +0,0 @@
{
imports = [
../home/global.nix
];
}
-5
View File
@@ -1,5 +0,0 @@
{
imports = [
../home/global.nix
];
}