mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
nixvimConfigs/fiesta/setups/ui: init
This commit is contained in:
parent
4e7a8b254d
commit
e30e4c7b9c
@ -1,7 +1,6 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
colorschemes.kanagawa.enable = true;
|
|
||||||
imports = [ ./modules ];
|
imports = [ ./modules ];
|
||||||
|
|
||||||
nixvimConfigs.fiesta.setups = {
|
nixvimConfigs.fiesta.setups = {
|
||||||
@ -10,6 +9,7 @@
|
|||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
debugging.enable = true;
|
debugging.enable = true;
|
||||||
desktop-utils.enable = true;
|
desktop-utils.enable = true;
|
||||||
|
ui.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins.neorg.enable = true;
|
plugins.neorg.enable = true;
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
./setups/desktop-utils.nix
|
./setups/desktop-utils.nix
|
||||||
./setups/snippets
|
./setups/snippets
|
||||||
./setups/treesitter.nix
|
./setups/treesitter.nix
|
||||||
|
./setups/ui.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
41
configs/nixvim/fiesta/modules/setups/ui.nix
Normal file
41
configs/nixvim/fiesta/modules/setups/ui.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
nixvimCfg = config.nixvimConfigs.fiesta;
|
||||||
|
cfg = nixvimCfg.setups.ui;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.nixvimConfigs.fiesta.setups.ui.enable =
|
||||||
|
lib.mkEnableOption "configuration for UI-related settings and plugins";
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
# Set the colorscheme.
|
||||||
|
colorschemes.kanagawa.enable = true;
|
||||||
|
|
||||||
|
# Make it so that terminal GUI colors are au natural.
|
||||||
|
options.termguicolors = true;
|
||||||
|
|
||||||
|
# Show locations you're supposed to be copying from the internet (or your
|
||||||
|
# own code).
|
||||||
|
options.number = true;
|
||||||
|
|
||||||
|
# Make it easy to count.
|
||||||
|
options.relativenumber = true;
|
||||||
|
|
||||||
|
# Make it easy to identify your cursor.
|
||||||
|
options.cursorline = true;
|
||||||
|
|
||||||
|
# Conceal all of the hidden weapons (or distractions).
|
||||||
|
options.conceallevel = 1;
|
||||||
|
|
||||||
|
# Show them hidden suckers.
|
||||||
|
options.list = true;
|
||||||
|
options.listchars = {
|
||||||
|
tab = "↦ ";
|
||||||
|
trail = "·";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Taste the rainbow delimiters.
|
||||||
|
plugins.rainbow-delimiters.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user