From e6cba2dd64281af9f249db9f7a38b416ef2242f9 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 27 Feb 2025 21:44:16 +0100 Subject: usecases/graphical: add ghostty, try out Melange colorscheme for nvim --- common/commandline/htop.nix | 2 -- common/nixvim.nix | 23 +---------------------- usecases/desktop/graphical.nix | 1 + usecases/desktop/graphical/ghostty.nix | 11 +++++++++++ 4 files changed, 13 insertions(+), 24 deletions(-) create mode 100644 usecases/desktop/graphical/ghostty.nix diff --git a/common/commandline/htop.nix b/common/commandline/htop.nix index 91299a3..533beb6 100644 --- a/common/commandline/htop.nix +++ b/common/commandline/htop.nix @@ -12,8 +12,6 @@ inputs: enable = true; settings = { - color_scheme = 5; - fields = with config.lib.htop.fields; [ PID USER diff --git a/common/nixvim.nix b/common/nixvim.nix index bc6465b..d566813 100644 --- a/common/nixvim.nix +++ b/common/nixvim.nix @@ -63,28 +63,7 @@ inputs: ]; }; - colorschemes.gruvbox = { - enable = true; - - settings = { - # bold = true; - # italics = true; - # underline = true; - # undercurl = true; - italic.strings = false; - overrides = { - GitSignsAdd.link = "GruvboxGreenSign"; - GitSignsChange.link = "GruvboxOrangeSign"; - GitSignsDelete.link = "GruvboxRedSign"; - IblScope.link = "GruvboxAqua"; - }; - }; - }; - - highlight = { - TSDefinition.link = "GruvboxBlueSign"; - TSDefinitionUsage.link = "GruvboxAquaSign"; - }; + colorschemes.melange.enable = true; keymaps = let diff --git a/usecases/desktop/graphical.nix b/usecases/desktop/graphical.nix index 6a74ac1..bbaabdb 100644 --- a/usecases/desktop/graphical.nix +++ b/usecases/desktop/graphical.nix @@ -5,6 +5,7 @@ inputs: { imports = [ (import ./graphical/alacritty.nix inputs) (import ./graphical/firefox.nix inputs) + ./graphical/ghostty.nix (import ./graphical/gtk.nix inputs) (import ./graphical/mpv.nix inputs) (import ./graphical/plymouth.nix inputs) diff --git a/usecases/desktop/graphical/ghostty.nix b/usecases/desktop/graphical/ghostty.nix new file mode 100644 index 0000000..2b69d1c --- /dev/null +++ b/usecases/desktop/graphical/ghostty.nix @@ -0,0 +1,11 @@ +{ + home-manager.users.minijackson.programs.ghostty = { + enable = true; + + settings = { + theme = "dark:Melange_dark,light:Melange_light"; + font-family = "mono"; + font-size = 9; + }; + }; +} -- cgit v1.2.3