Simplification of home manager basic module
This commit is contained in:
parent
67100d56d5
commit
eea02abfcb
13 changed files with 77 additions and 70 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/minimal.nix
|
||||||
|
|
||||||
# ../../modules/hm/development/cpp.nix
|
# ../../modules/hm/development/cpp.nix
|
||||||
# ../../modules/hm/development/data.nix
|
# ../../modules/hm/development/data.nix
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/minimal.nix
|
||||||
|
|
||||||
../../modules/hm/shell_aliases.nix
|
../../modules/hm/shell_aliases.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/minimal.nix
|
||||||
|
|
||||||
../../modules/hm/helix.nix
|
../../modules/hm/helix.nix
|
||||||
../../modules/hm/kitty.nix
|
../../modules/hm/kitty.nix
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/basics.nix
|
||||||
|
|
||||||
../../modules/hm/helix.nix
|
../../modules/hm/helix.nix
|
||||||
../../modules/hm/kitty.nix
|
../../modules/hm/kitty.nix
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/basics.nix
|
||||||
|
|
||||||
# ../../modules/hm/development/cpp.nix
|
# ../../modules/hm/development/cpp.nix
|
||||||
# ../../modules/hm/development/data.nix
|
# ../../modules/hm/development/data.nix
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
# };
|
# };
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/basics.nix
|
||||||
|
|
||||||
# ../../modules/hm/development/cpp.nix
|
# ../../modules/hm/development/cpp.nix
|
||||||
# ../../modules/hm/development/data.nix
|
# ../../modules/hm/development/data.nix
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/basics.nix
|
||||||
|
|
||||||
../../modules/hm/syncthing_tiziano.nix
|
../../modules/hm/syncthing_tiziano.nix
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/basics.nix
|
||||||
|
|
||||||
# ../../modules/hm/development/cpp.nix
|
# ../../modules/hm/development/cpp.nix
|
||||||
# ../../modules/hm/development/database.nix
|
# ../../modules/hm/development/database.nix
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/hm/__basic.nix
|
../../modules/hm/combined/basics.nix
|
||||||
|
|
||||||
# ../../modules/hm/development/cpp.nix
|
# ../../modules/hm/development/cpp.nix
|
||||||
# ../../modules/hm/development/database.nix
|
# ../../modules/hm/development/database.nix
|
||||||
|
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.home-manager.autoExpire = {
|
|
||||||
enable = true;
|
|
||||||
frequency = "daily";
|
|
||||||
timestamp = "-7 days";
|
|
||||||
};
|
|
||||||
|
|
||||||
home = {
|
|
||||||
language.base = "it_IT.UTF-8";
|
|
||||||
packages = builtins.attrValues {
|
|
||||||
inherit (pkgs)
|
|
||||||
fastfetch
|
|
||||||
file
|
|
||||||
mmv-go
|
|
||||||
pv
|
|
||||||
unrar
|
|
||||||
unzip
|
|
||||||
wget
|
|
||||||
zip
|
|
||||||
;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
bottom.enable = true;
|
|
||||||
ripgrep.enable = true;
|
|
||||||
fd = { enable = true; hidden = true; };
|
|
||||||
};
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
./configurations.nix
|
|
||||||
|
|
||||||
./bash.nix
|
|
||||||
# ./bat.nix
|
|
||||||
# ./bottom.nix
|
|
||||||
# ./broot.nix
|
|
||||||
# ./dircolors.nix
|
|
||||||
./direnv.nix
|
|
||||||
# ./exa.nix
|
|
||||||
./lsd.nix
|
|
||||||
./fzf.nix
|
|
||||||
./git.nix
|
|
||||||
./gpg.nix
|
|
||||||
./info.nix
|
|
||||||
# ./jq.nix
|
|
||||||
# ./joshuto.nix
|
|
||||||
./keychain.nix
|
|
||||||
# ./lf.nix
|
|
||||||
./man.nix
|
|
||||||
# ./ntfy.nix
|
|
||||||
./shell_aliases.nix
|
|
||||||
./ssh.nix
|
|
||||||
./starship.nix
|
|
||||||
./tmux.nix
|
|
||||||
./yazi.nix
|
|
||||||
./zellij.nix
|
|
||||||
./zoxide.nix
|
|
||||||
./zsh.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
25
modules/hm/combined/basics.nix
Normal file
25
modules/hm/combined/basics.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
imports = [
|
||||||
|
./minimal.nix
|
||||||
|
|
||||||
|
../direnv.nix
|
||||||
|
../fzf.nix
|
||||||
|
../info.nix
|
||||||
|
../man.nix
|
||||||
|
../starship.nix
|
||||||
|
../tmux.nix
|
||||||
|
../yazi.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
home = {
|
||||||
|
language.base = "it_IT.UTF-8";
|
||||||
|
packages = builtins.attrValues {
|
||||||
|
inherit (pkgs)
|
||||||
|
fastfetch
|
||||||
|
pv
|
||||||
|
;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
43
modules/hm/combined/minimal.nix
Normal file
43
modules/hm/combined/minimal.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
imports = [
|
||||||
|
../configurations.nix
|
||||||
|
|
||||||
|
../bash.nix
|
||||||
|
../bottom.nix
|
||||||
|
../git.nix
|
||||||
|
../gpg.nix
|
||||||
|
../keychain.nix
|
||||||
|
../lsd.nix
|
||||||
|
../shell_aliases.nix
|
||||||
|
../ssh.nix
|
||||||
|
../zellij.nix
|
||||||
|
../zoxide.nix
|
||||||
|
../zsh.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
home = {
|
||||||
|
language.base = "it_IT.UTF-8";
|
||||||
|
packages = builtins.attrValues {
|
||||||
|
inherit (pkgs)
|
||||||
|
fastfetch
|
||||||
|
file
|
||||||
|
unrar
|
||||||
|
unzip
|
||||||
|
wget
|
||||||
|
zip
|
||||||
|
;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
ripgrep.enable = true;
|
||||||
|
fd = { enable = true; hidden = true; };
|
||||||
|
};
|
||||||
|
|
||||||
|
services.home-manager.autoExpire = {
|
||||||
|
enable = true;
|
||||||
|
frequency = "daily";
|
||||||
|
timestamp = "-7 days";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue