try this for now
This commit is contained in:
parent
7534af33d6
commit
c363306635
5 changed files with 60 additions and 8 deletions
14
config/colorscheme.nix
Normal file
14
config/colorscheme.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
colorschemes = {
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
flavour = "mocha";
|
||||
|
||||
# Needed to keep terminal transparency, if any
|
||||
transparent_background = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,9 +1,14 @@
|
|||
{
|
||||
options = {
|
||||
# Enable relative line numbers
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
|
||||
{ lib, ... }:
|
||||
|
||||
};
|
||||
}
|
||||
let
|
||||
definitions = lib.attrNames (
|
||||
lib.filterAttrs
|
||||
(filename: kind:
|
||||
filename != "default.nix"
|
||||
&& (kind == "regular" || kind == "directory")
|
||||
)
|
||||
(builtins.readDir ./.)
|
||||
);
|
||||
in
|
||||
lib.mkMerge (map (file: import ./${file}) definitions)
|
||||
7
config/options.nix
Normal file
7
config/options.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
opts = {
|
||||
# Enable relative line numbers
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
};
|
||||
}
|
||||
26
default.nix
Normal file
26
default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
_:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./config
|
||||
# ./plugins
|
||||
];
|
||||
|
||||
config = {
|
||||
# Use <Space> as leader key
|
||||
# globals.mapleader = " ";
|
||||
|
||||
# Set 'vi' and 'vim' aliases to nixvim
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
# Setup clipboard support
|
||||
clipboard = {
|
||||
# Use xsel as clipboard provider
|
||||
# providers.xsel.enable = true;
|
||||
|
||||
# Sync system clipboard
|
||||
register = "unnamedplus";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
nixvim.legacyPackages.${system}.makeNixvimWithModule {
|
||||
inherit pkgs;
|
||||
|
||||
module = ./config;
|
||||
module = ./.;
|
||||
|
||||
extraSpecialArgs = specialArgs // {
|
||||
inherit pkgs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue