refactor: extract home configs
This commit is contained in:
parent
55af25ccb3
commit
f6f01771ab
3 changed files with 39 additions and 38 deletions
42
horsch.nix
Normal file
42
horsch.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ pkgs, user, ... }:
|
||||
|
||||
{
|
||||
home.username = user;
|
||||
home.homeDirectory = "/home/${user}";
|
||||
|
||||
home.stateVersion = "24.05"; # Please read the comment before changing.
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
wsl-open
|
||||
xdg-utils
|
||||
];
|
||||
|
||||
imports = [
|
||||
./bat.nix
|
||||
./carapace.nix
|
||||
./direnv.nix
|
||||
./eza.nix
|
||||
./fzf.nix
|
||||
./git.nix
|
||||
./gpg
|
||||
./neovim
|
||||
./picocom.nix
|
||||
./podman.nix
|
||||
./ripgrep.nix
|
||||
./rsync.nix
|
||||
./shell_aliases.nix
|
||||
./starship.nix
|
||||
./tree.nix
|
||||
./zoxide.nix
|
||||
./zsh.nix
|
||||
|
||||
./horsch/ssh.nix
|
||||
./horsch/zsh.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue