fix sets.nix options by adding config beforehand

This commit is contained in:
megit 2024-03-28 02:37:35 +08:00
parent f22207f3e2
commit 82c8025b4e
2 changed files with 65 additions and 64 deletions

View file

@ -1,7 +1,6 @@
# The line beneath this is called `modeline`. See `:help modeline` # The line beneath this is called `modeline`. See `:help modeline`
# vim: ts=4:sts=0:sw=0:tw=78:noet # vim: ts=4:sts=0:sw=0:tw=78:noet
{pkgs {
, ...}:{
# Import all your configuration modules here # Import all your configuration modules here
imports = [ imports = [
./colorscheme/onedark.nix ./colorscheme/onedark.nix

View file

@ -1,6 +1,7 @@
# The line beneath this is called `modeline`. See `:help modeline` # The line beneath this is called `modeline`. See `:help modeline`
# vim: ts=4:sts=0:sw=0:tw=78:noet # vim: ts=4:sts=0:sw=0:tw=78:noet
{ {
config = {
options = { options = {
relativenumber = true; relativenumber = true;
splitbelow = true; splitbelow = true;
@ -63,4 +64,5 @@ options = {
# NOTE: You should make sure your terminal supports this # NOTE: You should make sure your terminal supports this
termguicolors = true; termguicolors = true;
}; };
};
} }