refactor: extract home configs
This commit is contained in:
parent
55af25ccb3
commit
f6f01771ab
3 changed files with 39 additions and 38 deletions
76
private.nix
Normal file
76
private.nix
Normal file
|
@ -0,0 +1,76 @@
|
|||
{ pkgs, user, ... }:
|
||||
|
||||
{
|
||||
home.username = user;
|
||||
home.homeDirectory = "/home/${user}";
|
||||
|
||||
home.stateVersion = "24.05"; # Please read the comment before changing.
|
||||
|
||||
home.packages = with pkgs; [
|
||||
jq
|
||||
htop
|
||||
pavucontrol
|
||||
gnumake
|
||||
unzip
|
||||
gcc
|
||||
thunderbird
|
||||
keepassxc
|
||||
light
|
||||
element-desktop
|
||||
difftastic
|
||||
darktable
|
||||
kubectl
|
||||
kubectx
|
||||
simple-scan
|
||||
calibre
|
||||
libreoffice
|
||||
gthumb
|
||||
gimp
|
||||
evince
|
||||
screen
|
||||
inkscape
|
||||
chromium
|
||||
xclip
|
||||
];
|
||||
|
||||
# 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/mandlm/etc/profile.d/hm-session-vars.sh
|
||||
#
|
||||
home.sessionVariables = { };
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [
|
||||
./bat.nix
|
||||
./carapace.nix
|
||||
./direnv.nix
|
||||
./eza.nix
|
||||
./firefox.nix
|
||||
./fzf.nix
|
||||
./git.nix
|
||||
./gpg
|
||||
./kitty.nix
|
||||
./neovim
|
||||
./nextcloud.nix
|
||||
./ripgrep.nix
|
||||
./shell_aliases.nix
|
||||
./starship.nix
|
||||
./sway
|
||||
./tree.nix
|
||||
./zoxide.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue