chore: restructure home manager config
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
8bf002c44e
commit
fe0e45b873
10 changed files with 32 additions and 11 deletions
22
home/lander/features/cli/default.nix
Normal file
22
home/lander/features/cli/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -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 = {
|
||||||
7
home/lander/features/workstation/default.nix
Normal file
7
home/lander/features/workstation/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./alacritty.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./global
|
./global
|
||||||
|
./features/workstation
|
||||||
./common/alacritty.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue