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, ... }:
|
||||
let
|
||||
theme = import ../../../lib/theme { inherit pkgs; };
|
||||
theme = import ../../../../lib/theme { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
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 = [
|
||||
inputs.catppuccin.homeManagerModules.catppuccin
|
||||
|
||||
./git
|
||||
./starship.nix
|
||||
./vim.nix
|
||||
./zsh.nix
|
||||
../features/cli
|
||||
];
|
||||
|
||||
home = {
|
||||
|
|
@ -32,11 +29,7 @@ in
|
|||
};
|
||||
|
||||
programs = {
|
||||
eza.enable = true;
|
||||
git.enable = true;
|
||||
gpg.enable = true;
|
||||
home-manager.enable = true;
|
||||
jq.enable = true;
|
||||
};
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
imports = [
|
||||
./global
|
||||
|
||||
./common/alacritty.nix
|
||||
./features/workstation
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue