diff options
| author | triethyl <triethylammonium@pm.me> | 2025-12-03 09:19:46 -0500 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-12-03 09:19:46 -0500 |
| commit | 8b9502c1b647adf15cf19b76e49d0b6b10ef28d7 (patch) | |
| tree | 86fd30bca24fa64e453e497c94f36978562751f4 | |
| parent | 959026485d7783be4963e71bd93edecb720441af (diff) | |
home-manager: fixed iamb feature
| -rw-r--r-- | home-manager/features/cli/apps/iamb.nix | 2 | ||||
| -rw-r--r-- | home-manager/features/gui/apps/kitty.nix | 15 | ||||
| -rw-r--r-- | home-manager/features/gui/bundles/office.nix | 17 | ||||
| -rw-r--r-- | home-manager/features/gui/desktops/niri/parts/vicinae.nix | 15 | ||||
| -rw-r--r-- | home-manager/modules/aesthetics/targets/kitty.nix | 55 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/blink.lua | 13 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/image.lua | 7 |
7 files changed, 123 insertions, 1 deletions
diff --git a/home-manager/features/cli/apps/iamb.nix b/home-manager/features/cli/apps/iamb.nix index b52b06f..1d90043 100644 --- a/home-manager/features/cli/apps/iamb.nix +++ b/home-manager/features/cli/apps/iamb.nix @@ -1,7 +1,7 @@ {config, pkgs, lib, ...}: let cfg = config.features.cli.apps.iamb; in { - options.features.cli.apps.iamb = lib.mkEnableOption "iamb"; + options.features.cli.apps.iamb.enable = lib.mkEnableOption "iamb"; config = lib.mkIf cfg.enable { programs.iamb = { enable = true; diff --git a/home-manager/features/gui/apps/kitty.nix b/home-manager/features/gui/apps/kitty.nix new file mode 100644 index 0000000..a9d7312 --- /dev/null +++ b/home-manager/features/gui/apps/kitty.nix @@ -0,0 +1,15 @@ +{ + config, + pkgs, + lib, + ... +}: let + cfg = config.features.gui.apps.kitty; +in { + options.features.gui.apps.kitty.enable = lib.mkEnableOption "kitty"; + config = lib.mkIf cfg.enable { + programs.kitty = { + enable = true; + }; + }; +} diff --git a/home-manager/features/gui/bundles/office.nix b/home-manager/features/gui/bundles/office.nix new file mode 100644 index 0000000..51d5855 --- /dev/null +++ b/home-manager/features/gui/bundles/office.nix @@ -0,0 +1,17 @@ +{config, lib, pkgs, ...}: let + cfg = config.features.gui.bundles.office; +in { + options.features.gui.bundles.office.enable = lib.mkEnableOption "the office bundle"; + config = lib.mkIf cfg.enable { + home.packages = with pkgs; [ + libreoffice + kdePackages.okular + + # Fonts + corefonts + vista-fonts + ]; + fonts.fontconfig.enable = true; + # Run fc-cache command to update fonts after installing + }; +} diff --git a/home-manager/features/gui/desktops/niri/parts/vicinae.nix b/home-manager/features/gui/desktops/niri/parts/vicinae.nix new file mode 100644 index 0000000..5a1c806 --- /dev/null +++ b/home-manager/features/gui/desktops/niri/parts/vicinae.nix @@ -0,0 +1,15 @@ +{ config, lib, ... }: let + cfg = config.features.gui.desktops.niri.parts.vicinae; + aes = config.aesthetics; +in { + options.features.gui.desktops.niri.parts.vicinae.enable = lib.mkEnableOption "vicinae"; + config = lib.mkIf cfg.enable { + programs.vicinae = { + enable = true; + systemd = { + enable = true; + autoStart = true; + }; + }; + }; +} diff --git a/home-manager/modules/aesthetics/targets/kitty.nix b/home-manager/modules/aesthetics/targets/kitty.nix new file mode 100644 index 0000000..627eda5 --- /dev/null +++ b/home-manager/modules/aesthetics/targets/kitty.nix @@ -0,0 +1,55 @@ +{ config, lib, ... }: let + cfg = config.aesthetics.targets.kitty; + aes = config.aesthetics; +in { + options.aesthetics.targets.foot.enable = lib.mkOption { + type = lib.types.bool; + default = (aes.enableAllTargets && aes.hasGui); + description = "Whether to enable the aesthetics kitty target."; + }; + config = lib.mkIf (cfg.enable && config.programs.foot.enable) { + programs.kitty.settings = with aes.scheme; { + font_family = aes.font.name; + font_size = aes.font.size.small; + + background = "#${base00}"; + foreground = "#${base05}"; + selection_background = "#${base05}"; + selection_foreground = "#${base00}"; + url_color = "#${base0D}"; + cursor = "#${base0D}"; + cursor_text_color = "#${base00}"; + active_border_color = "#${base03}"; + inactive_border_color = "#${base01}"; + active_tab_background = "#${base00}"; + active_tab_foreground = "#${base05}"; + inactive_tab_background = "#${base01}"; + inactive_tab_foreground = "#${base04}"; + + color0 = "#${base00}"; + color1 = "#${base08}"; + color2 = "#${base0B}"; + color3 = "#${base0A}"; + color4 = "#${base0D}"; + color5 = "#${base0E}"; + color6 = "#${base0C}"; + color7 = "#${base05}"; + + color8 = "#${base03}"; + color9 = "#${base08}"; + color10 = "#${base0B}"; + color11 = "#${base0A}"; + color12 = "#${base0D}"; + color13 = "#${base0E}"; + color14 = "#${base0C}"; + color15 = "#${base07}"; + + color16 = "#${base09}"; + color17 = "#${base0F}"; + color18 = "#${base01}"; + color19 = "#${base02}"; + color20 = "#${base04}"; + color21 = "#${base06}"; + }; + }; +} diff --git a/pkgs/custom-neovim/config/lua/plugins/blink.lua b/pkgs/custom-neovim/config/lua/plugins/blink.lua new file mode 100644 index 0000000..7ff0072 --- /dev/null +++ b/pkgs/custom-neovim/config/lua/plugins/blink.lua @@ -0,0 +1,13 @@ +return { + "blink.cmp", + lazy = true, + event = "InsertEnter", + after = function () + require("blink.cmp").setup { + keymap = { preset = 'default' }, + sources = { + default = { 'lsp', 'snippets', 'path' }, + }, + } + end +} diff --git a/pkgs/custom-neovim/config/lua/plugins/image.lua b/pkgs/custom-neovim/config/lua/plugins/image.lua new file mode 100644 index 0000000..ca02217 --- /dev/null +++ b/pkgs/custom-neovim/config/lua/plugins/image.lua @@ -0,0 +1,7 @@ +return { + "image.nvim", + lazy = false, + after = function () + require("image").setup{} + end +} |
