chore: organize dotfiles stowed by home-manager

This commit is contained in:
TheGeneralist 2025-06-23 09:21:16 +02:00
parent d82367b7ee
commit c8783b2c52
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
40 changed files with 32 additions and 59 deletions

View file

@ -27,13 +27,13 @@ in {
home.file = {
".config/nvim" = {
source = ../home/dotfiles/nvim;
source = ../dotfiles/nvim;
force = true;
recursive = true;
};
} // optionalAttrs config.onLinux {
".config/i3status" = {
source = ../home/dotfiles/i3status;
source = ../dotfiles/i3status;
force = true;
recursive = true;
};

View file

@ -12,6 +12,25 @@ in {
gcc
gnumake
automake
zip
xz
unzip
mtr
iperf3
dnsutils
ldns
nmap
file
which
tree
gnupg
btop
pciutils
usbutils
;
};
}

View file

@ -1,52 +0,0 @@
{ config, options, pkgs, inputs, lib, ... }: {
home.username = "thegeneralist";
home.homeDirectory = if options.onLinux then "/home/thegeneralist" else "/Users/thegeneralist";
home.packages = with pkgs; [
zip
xz
unzip
mtr
iperf3
dnsutils
ldns
nmap
file
which
tree
gnupg
btop
pciutils
usbutils
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your
# # environment:
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
];
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. These will be explicitly sourced when using a
# shell provided by Home Manager. If you don't want to manage your shell
# through Home Manager then you have to manually source 'hm-session-vars.sh'
# located at either
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
# or
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
# or
# /etc/profiles/per-user/thegeneralist/etc/profile.d/hm-session-vars.sh
home.stateVersion = "24.11";
programs.home-manager.enable = true;
}

View file

@ -28,7 +28,7 @@ in {
windowManager.i3 = optionalAttrs (!config.isServer) {
enable = true;
package = pkgs.i3;
configFile = ../home/dotfiles/i3/config;
configFile = ../dotfiles/i3/config;
extraPackages = with pkgs; [
i3