diff options
Diffstat (limited to 'modules/home-manager')
| -rw-r--r-- | modules/home-manager/btop.nix | 12 | ||||
| -rw-r--r-- | modules/home-manager/default.nix | 6 | ||||
| -rw-r--r-- | modules/home-manager/helix.nix | 25 | ||||
| -rw-r--r-- | modules/home-manager/shell.nix | 12 | ||||
| -rw-r--r-- | modules/home-manager/starship.nix | 11 |
5 files changed, 66 insertions, 0 deletions
diff --git a/modules/home-manager/btop.nix b/modules/home-manager/btop.nix new file mode 100644 index 0000000..2c4e6cc --- /dev/null +++ b/modules/home-manager/btop.nix @@ -0,0 +1,12 @@ +{ catppuccin-btop, ... }: { + home.file.".config/btop/themes".source = "${catppuccin-btop}/themes"; + + #replace htop/nmon + programs.btop = { + enable = true; + settings = { + color_theme = "catppuccin_mocha"; + theme_background = false; # make btop transparent + }; + }; +} diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix new file mode 100644 index 0000000..132d201 --- /dev/null +++ b/modules/home-manager/default.nix @@ -0,0 +1,6 @@ +{ + btop = import ./btop.nix; + helix = import ./helix.nix; + shell = import ./shell.nix; + starship = import ./starship.nix; +} diff --git a/modules/home-manager/helix.nix b/modules/home-manager/helix.nix new file mode 100644 index 0000000..a8891a5 --- /dev/null +++ b/modules/home-manager/helix.nix @@ -0,0 +1,25 @@ +{ pkgs, catppuccin-helix, ... }: { + # https://github.com/catppuccin/helix + xdg.configFile."helix/themes".source = "${catppuccin-helix}/themes/default"; + + programs.helix = { + enable = true; + package = pkgs.helix; + # defaultEditor = true; + settings = { + theme = "catppuccin_mocha"; + editor = { + line-number = "relative"; + cursorline = true; + color-modes = true; + lsp.display-messages = true; + cursor.shape = { + insert = "bar"; + normal = "block"; + select = "underline"; + }; + indent-guides.render = true; + }; + }; + }; +} diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix new file mode 100644 index 0000000..c86190e --- /dev/null +++ b/modules/home-manager/shell.nix @@ -0,0 +1,12 @@ +{nushell-scripts, ... }: { + programs.nushell = { + extraConfig = '' + use ${nushell-scripts}/custom-completions/pass/pass-completions.nu * + use ${nushell-scripts}/custom-completions/nix/nix-completions.nu * + use ${nushell-scripts}/custom-completions/man/man-completions.nu * + use ${nushell-scripts}/custom-completions/cargo/cargo-completions.nu * + use ${nushell-scripts}/custom-completions/make/make-completions.nu * + use ${nushell-scripts}/custom-completions/git/git-completions.nu * + ''; + }; +} diff --git a/modules/home-manager/starship.nix b/modules/home-manager/starship.nix new file mode 100644 index 0000000..7869b4c --- /dev/null +++ b/modules/home-manager/starship.nix @@ -0,0 +1,11 @@ +{ catppuccin-starship, ... }: { + programs.starship = { + enable = true; + + settings = { + command_timeout = 1000; + + palette = "catppuccin_mocha"; + } ; #// builtins.fromTOML (builtins.readFile "${catppuccin-starship}/palettes/mocha.toml"); + }; +}
\ No newline at end of file |
