mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
nix settings and nvim tweaks
This commit is contained in:
parent
11971e4e36
commit
88e869fd45
24
flake.lock
24
flake.lock
|
@ -117,11 +117,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1678916824,
|
"lastModified": 1678967335,
|
||||||
"narHash": "sha256-YPQAQ0x0wLvbQ/vaEj8o+0hRfbBNR0teTJ6QsG0yzw4=",
|
"narHash": "sha256-oFppZaAVRA0G/aVPvjtWaQI5EQ2dZ5LgbEKfsBmKQgA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "c8cb60b8a15c90b2bbc416c182532620602edb48",
|
"rev": "b832390db376fbbf44115904cfab6680fb42e076",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -144,11 +144,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1678928694,
|
"lastModified": 1678984828,
|
||||||
"narHash": "sha256-IyMKsbwRP1+9KcPR9exTD3zkPW6ivykpvGAM25mdmoI=",
|
"narHash": "sha256-fULVI69XchAnznXMtVet23li8Oi0RK8ZWBb50jA0rw4=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "d9d57ce39ac25fd8bbfe88ec9d3bccb1e2df8650",
|
"rev": "606cb2832aff2c7305da1f880ce732f7eb464d04",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -326,11 +326,11 @@
|
||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1678954423,
|
"lastModified": 1678961974,
|
||||||
"narHash": "sha256-kaTyUwuG9k1Fo4fUKCXvDSWpG5w06sYtLnAX2WQ3oWY=",
|
"narHash": "sha256-c1TZ+lQlWHjNJYiQZTtD0pZyXQjRlMl3GcTyLi4SF3Q=",
|
||||||
"owner": "pta2002",
|
"owner": "pta2002",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "f5f33b539031ec57c1869a63350176d7257f5f18",
|
"rev": "6544e323966d81306f74842781a4a8c00a53a077",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -471,11 +471,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1676131170,
|
"lastModified": 1678980115,
|
||||||
"narHash": "sha256-K2KLGfUHbasZQCeXTRIZMYcEEnW2exBXvJiXRmJZibM=",
|
"narHash": "sha256-qed+BV0NBt1egGCBEM7d5MiZJevQb8jd1WybfFM53Ak=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "xdg-desktop-portal-hyprland",
|
||||||
"rev": "2fa7e345a4131fb9bddb5dc168475613c0684cf5",
|
"rev": "85f49f4d6c9c398428117e9bdb588f53f09e52e0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -20,6 +20,11 @@
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix.settings = {
|
||||||
|
cores = 6; # don't clutter the whole system when compiling stuff
|
||||||
|
auto-optimise-store = true;
|
||||||
|
};
|
||||||
|
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"wofi/config".text = ''
|
"wofi/config".text = ''
|
||||||
allow_images = true
|
allow_images = true
|
||||||
term = alacritty
|
term = foot
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"wofi/style.css".text = ''
|
"wofi/style.css".text = ''
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
"<leader>g" = ":Telescope git_files<CR>";
|
"<leader>g" = ":Telescope git_files<CR>";
|
||||||
"<leader>r" = ":Telescope live_grep<CR>";
|
"<leader>r" = ":Telescope live_grep<CR>";
|
||||||
# diacnostics
|
# diacnostics
|
||||||
"<leader>d" = ":Telescope diacnostics<CR>";
|
"<leader>d" = ":Telescope diagnostics<CR>";
|
||||||
|
|
||||||
#quickfixlist binds
|
#quickfixlist binds
|
||||||
"<C-j>" = ":cnext<CR>";
|
"<C-j>" = ":cnext<CR>";
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts)
|
vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts)
|
||||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts)
|
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts)
|
||||||
vim.keymap.set('n', '<leader>D', vim.lsp.buf.type_definition, bufopts)
|
vim.keymap.set('n', '<leader>D', vim.lsp.buf.type_definition, bufopts)
|
||||||
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts)
|
vim.keymap.set('n', 'gn', vim.lsp.buf.rename, bufopts)
|
||||||
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts)
|
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts)
|
||||||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
|
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
|
||||||
vim.keymap.set('n', '<leader>b', function() vim.lsp.buf.format { async = true } end, bufopts)
|
vim.keymap.set('n', '<leader>b', function() vim.lsp.buf.format { async = true } end, bufopts)
|
||||||
|
|
|
@ -58,8 +58,6 @@
|
||||||
bat # better less
|
bat # better less
|
||||||
duf # better df
|
duf # better df
|
||||||
|
|
||||||
jetbrains.pycharm-community # backup ide in case vim has a bad day again
|
|
||||||
|
|
||||||
powerline-fonts
|
powerline-fonts
|
||||||
|
|
||||||
# libs
|
# libs
|
||||||
|
|
Loading…
Reference in a new issue