update
This commit is contained in:
parent
c4b22c60ba
commit
612fcda8d1
|
@ -94,6 +94,7 @@
|
|||
};
|
||||
overlays = [
|
||||
self.overlays.default
|
||||
inputs.hyprland.overlays.default
|
||||
inputs.hyprland-contrib.overlays.default
|
||||
inputs.hyprpaper.overlays.default
|
||||
inputs.hyprpicker.overlays.default
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
fish_greeting = "";
|
||||
|
||||
ec = ''
|
||||
pushd &> /dev/null
|
||||
pushd . &> /dev/null
|
||||
cd "${config.home.homeDirectory}/.dotfiles"
|
||||
set "filename" (${pkgs.fd}/bin/fd -t f . ~/.dotfiles | \
|
||||
${pkgs.fzf}/bin/fzf -q "$argv[1]" \
|
||||
|
@ -49,18 +49,18 @@
|
|||
if test -f "$filename"
|
||||
$EDITOR $filename
|
||||
end
|
||||
popd &> /dev/null
|
||||
popd
|
||||
'';
|
||||
|
||||
nor = ''
|
||||
pushd &> /dev/null
|
||||
pushd . &> /dev/null
|
||||
cd "${config.home.homeDirectory}/.dotfiles"
|
||||
doas nixos-rebuild switch --flake .#
|
||||
popd &> /dev/null
|
||||
'';
|
||||
|
||||
nou = ''
|
||||
pushd &> /dev/null
|
||||
pushd . &> /dev/null
|
||||
cd "${config.home.homeDirectory}/.dotfiles"
|
||||
nix flake lock --commit-lock-file --update-input nixpkgs --update-input home-manager
|
||||
doas nixos-rebuild switch --upgrade --flake .#
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
programs.nixvim = {
|
||||
enable = true;
|
||||
|
||||
globals = { };
|
||||
globals = {
|
||||
mapleader = ",";
|
||||
};
|
||||
|
||||
colorschemes.gruvbox = {
|
||||
enable = true;
|
||||
|
@ -30,6 +32,7 @@
|
|||
shiftwidth = 2;
|
||||
expandtab = true;
|
||||
autoindent = true;
|
||||
listchars = "tab:!·,trail:·";
|
||||
};
|
||||
|
||||
plugins = {
|
||||
|
@ -70,6 +73,7 @@
|
|||
};
|
||||
|
||||
cmp_luasnip.enable = true;
|
||||
cmp-cmdline.enable = true;
|
||||
|
||||
nvim-cmp = {
|
||||
enable = true;
|
||||
|
@ -91,10 +95,6 @@
|
|||
"<C-e>" = "cmp.mapping.abort()";
|
||||
};
|
||||
|
||||
completion = {
|
||||
# keywordLength = 5;
|
||||
};
|
||||
|
||||
window.completion = {
|
||||
border = "single";
|
||||
scrollbar = true;
|
||||
|
@ -114,6 +114,16 @@
|
|||
|
||||
neo-tree.enable = true;
|
||||
|
||||
telescope = {
|
||||
enable = true;
|
||||
|
||||
keymaps = {
|
||||
"<leader>c" = "git_files";
|
||||
"<leader>v" = "live_grep";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
treesitter = {
|
||||
enable = true;
|
||||
indent = true;
|
||||
|
|
|
@ -64,6 +64,7 @@ in
|
|||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
||||
extraConfig = ''
|
||||
monitor=${leftMonitor}, 1920x1080@60, 0x0, 1
|
||||
monitor=${rightMonitor}, 2560x1440@144, 1920x0, 1
|
||||
|
|
Reference in New Issue