Restructured nixos home-manager config
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user