feat(home): move cli config to homes and use home-manager modules
This commit is contained in:
parent
1a3ff4b92a
commit
00e3ea65c8
17 changed files with 198 additions and 271 deletions
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
osConfig,
|
||||
lib,
|
||||
|
@ -26,7 +25,9 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
imports = (optional osConfig.desktop.enable (import-tree ./desktop)) ++ singleton (import-tree ./cli);
|
||||
imports =
|
||||
(optional osConfig.desktop.enable (import-tree ./desktop))
|
||||
++ singleton (import-tree ./cli);
|
||||
|
||||
config = {
|
||||
accounts = {
|
||||
|
@ -40,46 +41,5 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
cli = {
|
||||
shell = "zsh";
|
||||
finder = "fzf";
|
||||
screensaver.enable = true;
|
||||
screensaver.timeout = "100";
|
||||
screensaver.command = "cbonsai -S -w 0.1 -L 40 -M 2 -b 2";
|
||||
file-browser = "yazi";
|
||||
multiplexer = "zellij";
|
||||
fetch = "hyfetch";
|
||||
git.name = "Mohammad Rafiq";
|
||||
git.email = "rafiq@rrv.sh";
|
||||
git.defaultBranch = "prime";
|
||||
};
|
||||
home = {
|
||||
shellAliases = {
|
||||
v = "nvim";
|
||||
e = "edit";
|
||||
};
|
||||
|
||||
packages = with pkgs; [
|
||||
cbonsai
|
||||
ripgrep
|
||||
devenv
|
||||
pantheon.rebuild
|
||||
pantheon.deploy
|
||||
pantheon.edit
|
||||
pantheon.commit
|
||||
pantheon.check
|
||||
inputs.nixspect.packages."x86_64-linux".nixspect
|
||||
];
|
||||
};
|
||||
programs = {
|
||||
nh.enable = true;
|
||||
tealdeer.enable = true;
|
||||
tealdeer.settings.updates.auto_update = true;
|
||||
pay-respects.enable = true;
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue