diff options
author | Minijackson <minijackson@riseup.net> | 2025-02-27 21:44:16 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2025-02-27 21:44:16 +0100 |
commit | e6cba2dd64281af9f249db9f7a38b416ef2242f9 (patch) | |
tree | a56fe295cb8860137489854c86e95cd16cef739a | |
parent | a80d9e8a8492d671582dc919102ac60d5413bb4c (diff) | |
download | nixos-config-reborn-e6cba2dd64281af9f249db9f7a38b416ef2242f9.tar.gz nixos-config-reborn-e6cba2dd64281af9f249db9f7a38b416ef2242f9.zip |
usecases/graphical: add ghostty, try out Melange colorscheme for nvim
-rw-r--r-- | common/commandline/htop.nix | 2 | ||||
-rw-r--r-- | common/nixvim.nix | 23 | ||||
-rw-r--r-- | usecases/desktop/graphical.nix | 1 | ||||
-rw-r--r-- | usecases/desktop/graphical/ghostty.nix | 11 |
4 files changed, 13 insertions, 24 deletions
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: | |||
12 | enable = true; | 12 | enable = true; |
13 | 13 | ||
14 | settings = { | 14 | settings = { |
15 | color_scheme = 5; | ||
16 | |||
17 | fields = with config.lib.htop.fields; [ | 15 | fields = with config.lib.htop.fields; [ |
18 | PID | 16 | PID |
19 | USER | 17 | 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: | |||
63 | ]; | 63 | ]; |
64 | }; | 64 | }; |
65 | 65 | ||
66 | colorschemes.gruvbox = { | 66 | colorschemes.melange.enable = true; |
67 | enable = true; | ||
68 | |||
69 | settings = { | ||
70 | # bold = true; | ||
71 | # italics = true; | ||
72 | # underline = true; | ||
73 | # undercurl = true; | ||
74 | italic.strings = false; | ||
75 | overrides = { | ||
76 | GitSignsAdd.link = "GruvboxGreenSign"; | ||
77 | GitSignsChange.link = "GruvboxOrangeSign"; | ||
78 | GitSignsDelete.link = "GruvboxRedSign"; | ||
79 | IblScope.link = "GruvboxAqua"; | ||
80 | }; | ||
81 | }; | ||
82 | }; | ||
83 | |||
84 | highlight = { | ||
85 | TSDefinition.link = "GruvboxBlueSign"; | ||
86 | TSDefinitionUsage.link = "GruvboxAquaSign"; | ||
87 | }; | ||
88 | 67 | ||
89 | keymaps = | 68 | keymaps = |
90 | let | 69 | 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: { | |||
5 | imports = [ | 5 | imports = [ |
6 | (import ./graphical/alacritty.nix inputs) | 6 | (import ./graphical/alacritty.nix inputs) |
7 | (import ./graphical/firefox.nix inputs) | 7 | (import ./graphical/firefox.nix inputs) |
8 | ./graphical/ghostty.nix | ||
8 | (import ./graphical/gtk.nix inputs) | 9 | (import ./graphical/gtk.nix inputs) |
9 | (import ./graphical/mpv.nix inputs) | 10 | (import ./graphical/mpv.nix inputs) |
10 | (import ./graphical/plymouth.nix inputs) | 11 | (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 @@ | |||
1 | { | ||
2 | home-manager.users.minijackson.programs.ghostty = { | ||
3 | enable = true; | ||
4 | |||
5 | settings = { | ||
6 | theme = "dark:Melange_dark,light:Melange_light"; | ||
7 | font-family = "mono"; | ||
8 | font-size = 9; | ||
9 | }; | ||
10 | }; | ||
11 | } | ||