chore: restructure home manager config

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2024-08-29 08:47:24 +02:00
parent 8bf002c44e
commit fe0e45b873
Signed by: lander
GPG key ID: 0142722B4B0C536F
10 changed files with 32 additions and 11 deletions

View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
{
imports = [
./git
./starship.nix
./vim.nix
./zsh.nix
];
home.packages = with pkgs; [
btop
ncdu
eza
ripgrep
fd
httpie
diffsitter
jq
];
}

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
let let
theme = import ../../../lib/theme { inherit pkgs; }; theme = import ../../../../lib/theme { inherit pkgs; };
in in
{ {
programs.alacritty = { programs.alacritty = {

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./alacritty.nix
];
}

View file

@ -12,10 +12,7 @@ in
imports = [ imports = [
inputs.catppuccin.homeManagerModules.catppuccin inputs.catppuccin.homeManagerModules.catppuccin
./git ../features/cli
./starship.nix
./vim.nix
./zsh.nix
]; ];
home = { home = {
@ -32,11 +29,7 @@ in
}; };
programs = { programs = {
eza.enable = true;
git.enable = true;
gpg.enable = true;
home-manager.enable = true; home-manager.enable = true;
jq.enable = true;
}; };
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
./global ./global
./features/workstation
./common/alacritty.nix
]; ];
} }