Up
This commit is contained in:
parent
149e61ac40
commit
fc06455cbf
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"swww init"
|
"swww init"
|
||||||
"swww img /home/hadi/nextcloud/wallpaper/Dim.png"
|
"swww img /home/hadi/Nextcloud/wallpaper/Dim_12000x6000.png"
|
||||||
];
|
];
|
||||||
|
|
||||||
monitor = [
|
monitor = [
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
# TODO:
|
||||||
|
# choose output sound
|
||||||
|
# choose wallpaper
|
||||||
|
# import wireguard config
|
||||||
|
# powermenu
|
||||||
|
# menu
|
||||||
|
# custom colors on all config files
|
||||||
|
# vim format on save
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".ssh/config" = {
|
".ssh/config" = {
|
||||||
text = ''
|
text = ''
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
snippet.expand = "function(args) require('luasnip').lsp_expand(args.body) end";
|
snippet.expand =
|
||||||
|
"function(args) require('luasnip').lsp_expand(args.body) end";
|
||||||
sources = [
|
sources = [
|
||||||
{ name = "nvim_lsp"; }
|
{ name = "nvim_lsp"; }
|
||||||
{ name = "luasnip"; }
|
{ name = "luasnip"; }
|
||||||
@ -22,7 +23,7 @@
|
|||||||
formatting = {
|
formatting = {
|
||||||
fields = [ "abbr" "kind" "menu" ];
|
fields = [ "abbr" "kind" "menu" ];
|
||||||
format =
|
format =
|
||||||
# lua
|
# lua
|
||||||
''
|
''
|
||||||
function(_, item)
|
function(_, item)
|
||||||
local icons = {
|
local icons = {
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
programs.nixvim.plugins.lsp = {
|
programs.nixvim.plugins = {
|
||||||
|
lsp-format.enable = true;
|
||||||
|
lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
servers = {
|
servers = {
|
||||||
bashls.enable = true;
|
bashls.enable = true;
|
||||||
@ -15,4 +17,5 @@
|
|||||||
"K" = "hover";
|
"K" = "hover";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
celar = "clear";
|
celar = "clear";
|
||||||
e = "exit";
|
e = "exit";
|
||||||
cd = "z";
|
cd = "z";
|
||||||
ls = "eza --icons";
|
ls = "eza --icons=always";
|
||||||
open = "xdg-open";
|
open = "xdg-open";
|
||||||
icat = "kitty +kitten icat";
|
icat = "kitty +kitten icat";
|
||||||
};
|
};
|
||||||
|
64
home/variables/theme/config/template.nix
Normal file
64
home/variables/theme/config/template.nix
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
options.theme = {
|
||||||
|
|
||||||
|
rounding = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
description = "Borders rounding";
|
||||||
|
};
|
||||||
|
|
||||||
|
gaps-in = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
description = "Gaps in";
|
||||||
|
};
|
||||||
|
|
||||||
|
gaps-out = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
description = "Gaps out";
|
||||||
|
};
|
||||||
|
|
||||||
|
border-size = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
description = "Border size";
|
||||||
|
};
|
||||||
|
|
||||||
|
colors = let
|
||||||
|
mkColorOption = name: {
|
||||||
|
inherit name;
|
||||||
|
value = mkOption {
|
||||||
|
type = types.strMatching "[a-fA-F0-9]{6}";
|
||||||
|
description = "Color ${name}.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in listToAttrs (map mkColorOption [
|
||||||
|
"bg"
|
||||||
|
"fg"
|
||||||
|
"alt-bg"
|
||||||
|
"alt-fg"
|
||||||
|
"primary-bg"
|
||||||
|
"primary-fg"
|
||||||
|
"secondary-bg"
|
||||||
|
"secondary-fg"
|
||||||
|
"cursor"
|
||||||
|
"color0"
|
||||||
|
"color1"
|
||||||
|
"color2"
|
||||||
|
"color3"
|
||||||
|
"color4"
|
||||||
|
"color5"
|
||||||
|
"color6"
|
||||||
|
"color7"
|
||||||
|
"color8"
|
||||||
|
"color9"
|
||||||
|
"color10"
|
||||||
|
"color11"
|
||||||
|
"color12"
|
||||||
|
"color13"
|
||||||
|
"color14"
|
||||||
|
"color15"
|
||||||
|
]);
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user