Compare commits
4 commits
9a4d17e07d
...
5bef12e558
Author | SHA1 | Date | |
---|---|---|---|
5bef12e558 | |||
5f3c13ca91 | |||
d3b83da522 | |||
d987cf8574 |
5 changed files with 32 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
||||||
let
|
let
|
||||||
stateVersion = "23.05";
|
stateVersion = "23.11";
|
||||||
in rec {
|
in rec {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,15 @@ in
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = (builtins.readFile ./files/luasnip.lua);
|
config = (builtins.readFile ./files/luasnip.lua);
|
||||||
}
|
}
|
||||||
indent-blankline-nvim
|
{
|
||||||
|
plugin = indent-blankline-nvim;
|
||||||
|
type = "lua";
|
||||||
|
config =''
|
||||||
|
require("ibl").setup{
|
||||||
|
indent = { char = "│"},
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
||||||
{
|
{
|
||||||
plugin = nvim-lspconfig;
|
plugin = nvim-lspconfig;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
|
|
|
@ -15,8 +15,16 @@ vim.opt.hlsearch = true -- search: hightlight terms
|
||||||
vim.opt.ignorecase = true
|
vim.opt.ignorecase = true
|
||||||
vim.opt.incsearch = true
|
vim.opt.incsearch = true
|
||||||
vim.opt.laststatus = 1
|
vim.opt.laststatus = 1
|
||||||
|
|
||||||
-- show special character
|
-- show special character
|
||||||
vim.opt.listchars = {tab = '→ ', trail = '␣', eol = '', extends = '…' }
|
vim.opt.listchars = {
|
||||||
|
tab = '→ ',
|
||||||
|
trail = '␣',
|
||||||
|
space = '·',
|
||||||
|
eol = '',
|
||||||
|
extends = '…',
|
||||||
|
precedes = "<"
|
||||||
|
}
|
||||||
|
|
||||||
vim.opt.signcolumn = "yes" -- alway show sign column
|
vim.opt.signcolumn = "yes" -- alway show sign column
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
|
|
|
@ -5,9 +5,11 @@
|
||||||
dejavu_fonts
|
dejavu_fonts
|
||||||
emojione
|
emojione
|
||||||
font-awesome
|
font-awesome
|
||||||
|
grim
|
||||||
lato
|
lato
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
libertine
|
libertine
|
||||||
|
libnotify
|
||||||
(nerdfonts.override {
|
(nerdfonts.override {
|
||||||
fonts = [
|
fonts = [
|
||||||
"FiraCode"
|
"FiraCode"
|
||||||
|
@ -15,8 +17,7 @@
|
||||||
})
|
})
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
noto-fonts-cjk
|
noto-fonts-cjk
|
||||||
|
slurp
|
||||||
libnotify
|
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
xdg-utils
|
xdg-utils
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,9 +1,18 @@
|
||||||
{ config, pkgs, ...}:
|
{ pkgs, ...}:
|
||||||
{
|
{
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
# gtk portal needed to make gtk apps happy
|
# gtk portal needed to make gtk apps happy
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
|
config = {
|
||||||
|
common = {
|
||||||
|
default = [
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
"org.freedesktop.impl.portal.ScreenCast" = "wlr";
|
||||||
|
"org.freedesktop.impl.portal.Screenshot" = "wlr";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue