Restructured nixos home-manager config

This commit is contained in:
Random936
2025-02-09 10:47:35 -08:00
parent deb4233b93
commit fceb1282f0
13 changed files with 203 additions and 186 deletions

View File

@@ -1,55 +1,10 @@
{ lib, config, pkgs, ... }:
let
mypkgs = import ../packages/all-packages.nix {
inherit pkgs lib config;
};
in {
{ lib, config, pkgs, ... }: {
nixpkgs.config.allowUnfree = true;
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
# Nix specific utilities
manix
nix-tree
# Utilities
jq
bc
file
wget
curl
tmux
btop
iftop
p7zip
sshpass
ripgrep
openvpn
pciutils
fastfetch
# Network tools
dig
iperf
tcpdump
ethtool
# Dev tools
clang
clang-tools
cargo
python3
gnumake
ansible
];
programs = {
home-manager.enable = true;
zoxide.enable = true;
eza.enable = true;
fzf.enable = true;
git = {
enable = true;
userName = "Random936";
@@ -57,11 +12,5 @@ in {
};
};
home.file = {
".functions.zsh".source = ../dotfiles/.functions.zsh;
".tmux/plugins/tpm".source = "${mypkgs.tpm}";
".tmux.conf".source = ../dotfiles/.tmux.conf;
};
home.stateVersion = "24.05";
}