so much cleanup

This commit is contained in:
mjallen18
2025-05-28 21:06:30 -05:00
parent 2f96b0ae7c
commit dd18dcadb9
16 changed files with 258 additions and 688 deletions

View File

@@ -56,36 +56,24 @@
'';
systemPackages = with pkgs; [
authentik
binutils
cryptsetup
clinfo
cmake
coolercontrol.coolercontrol-gui
deconz
duperemove
efibootmgr
ffmpeg
gcc
git
glances
gparted
htop
ipset
jq
llama-cpp
lm_sensors
nano
ninja
nixfmt-rfc-style
nix-inspect
nix-ld
networkmanagerapplet
nmon
nut
packagekit
pass
pciutils
protonmail-bridge
protonvpn-cli
python3
@@ -93,18 +81,10 @@
qrencode
rcon
sbctl
sops
speedtest-cli
tailscale
tigervnc
tpm2-tools
tpm2-tss
usbutils
vim
vulkan-tools
wget
xorg.xinit
xorg.xauth
];
};

View File

@@ -1,28 +1,31 @@
{ pkgs,... }:
{ config, lib, pkgs,... }:
let
shellAliases = {
ll = "ls -alh";
update-boot = "sudo nixos-rebuild boot --max-jobs 10";
update-switch = "sudo nixos-rebuild switch --max-jobs 10";
update-flake = "nix flake update nas-nixpkgs nas-authentik-nix nas-cosmic nas-crowdsec nas-home-manager nas-impermanence nas-lanzaboote nas-nixos-hardware nas-sops-nix --flake /etc/nixos";
ducks = "du -cksh * | sort -hr | head -n 15";
};
gitAliases = {
co = "checkout";
ci = "commit";
cia = "commit --amend";
s = "status";
st = "status";
b = "branch";
p = "pull --rebase";
pu = "push";
};
excludePkgs = with pkgs; [
chromium
gamescope
gamescope-wsi
goverlay
protonup
vesktop
vmware-horizon-client
];
in
{
imports = [
../../share/home/defaults.nix
../../share/home/git.nix
../../share/home/librewolf.nix
../../share/home/shell.nix
../../share/home/vscode.nix
];
home.username = "admin";
home.homeDirectory = "/home/admin";
home.stateVersion = "23.11";
sops = {
age.keyFile = "/home/admin/.config/sops/age/keys.txt";
@@ -60,12 +63,6 @@ in
};
programs = {
home-manager.enable = true;
mangohud.enable = true;
java.enable = true;
password-store.enable = true;
btop.enable = true;
neovim = {
enable = true;
viAlias = true;
@@ -80,30 +77,8 @@ in
];
};
zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = shellAliases;
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
theme = "fishy";
};
};
git = {
enable = true;
package = pkgs.gitFull;
userName = "mjallen18";
userEmail = "matt.l.jallen@gmail.com";
aliases = gitAliases;
extraConfig = {
credential.helper = "libsecret";
};
};
zsh.shellAliases = shellAliases;
};
home.packages = lib.filter (pkg: !(lib.elem pkg excludePkgs)) config.home.packages;
}