This commit is contained in:
Varris 2023-12-25 20:56:16 +01:00
parent d1f2ba7310
commit 1eb16c6d1e
10 changed files with 55 additions and 7 deletions

View File

@ -29,6 +29,12 @@
gruvbox-plus-icon-pack.url = "github:SylEleuth/gruvbox-plus-icon-pack";
gruvbox-plus-icon-pack.flake = false;
openmw-git.url = "gitlab:OpenMW/openmw";
openmw-git.flake = false;
mygui-git.url = "github:mygui/MyGUI/dae9ac4be5a09e672bec509b1a8552b107c40214";
mygui-git.flake = false;
};
outputs = {

View File

@ -10,8 +10,22 @@
fonts = ["JetBrainsMono"];
};
mygui-openmw = prev.mygui.overrideAttrs (old: {
version = "3.4.3";
src = inputs.mygui-git;
patches = [];
cmakeFlags = old.cmakeFlags ++ ["-DMYGUI_DONT_USE_OBSOLETE=ON"]; #fix openmw link error
});
openmw = prev.openmw.overrideAttrs (old: {
version = "9999";
src = inputs.openmw-git;
buildInputs = (prev.lib.lists.remove prev.mygui old.buildInputs) ++ [prev.libyamlcpp prev.luajit prev.collada-dom final.mygui-openmw];
patches = [];
});
kitty = prev.kitty.overrideAttrs (old: {
patches = old.patches ++ [./pkgs/kitty/0011-fix-test_fish_integration.patch];
patches = [./pkgs/kitty/0011-fix-test_fish_integration.patch];
});
steam = prev.steam.override {
@ -26,5 +40,11 @@
prev.mpg123
];
};
nvim-hmts = prev.vimUtils.buildVimPlugin {
pname = "nvim-hmts";
version = "1";
src = inputs.nvim-hmts;
};
};
}

View File

@ -92,6 +92,11 @@
}
];
};
pam.services.kwallet = {
name = "kwallet";
enableKwallet = true;
};
};
users.users.manuel = {

View File

@ -12,7 +12,6 @@
avahi.enable = true;
blueman.enable = true;
flatpak.enable = true;
# gnome.gnome-keyring.enable = true;
gvfs.enable = true;
openssh.enable = true;
udisks2.enable = true;

View File

@ -2,12 +2,12 @@
virtualisation = {
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
extraPackages = [
pkgs.busybox
];
};
};
}

View File

@ -8,11 +8,12 @@ require("plugins.dressing")
require("plugins.ibl")
require("plugins.lspconfig")
require("plugins.lualine")
require("plugins.notify")
require("plugins.noice")
require("plugins.notify")
require("plugins.smartsplits")
require("plugins.surround")
require("plugins.telescope")
require("plugins.treesitter")
require("plugins.trouble")
require("plugins.ufo")
require("plugins.which-key")

View File

@ -0,0 +1,13 @@
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
vim.o.foldlevelstart = 99
vim.o.foldenable = true
-- Using ufo provider need remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
vim.keymap.set('n', 'zR', require('ufo').openAllFolds)
vim.keymap.set('n', 'zM', require('ufo').closeAllFolds)
require('ufo').setup({
provider_selector = function(bufnr, filetype, buftype)
return {'treesitter', 'indent'}
end
})

View File

@ -19,6 +19,7 @@
nvim-colorizer-lua
nvim-notify
nvim-surround
nvim-ufo
nvim-web-devicons
smart-splits-nvim
vim-easy-align

View File

@ -93,6 +93,7 @@ in {
"${pkgs.openrgb}/bin/openrgb --startminimized --profile autorun.orp"
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
"${pkgs.ydotool}/bin/ydotoold"
"${pkgs.libsForQt5.kwallet}/bin/kwalletd5"
];
exec = [

View File

@ -34,6 +34,7 @@
bottom
calcurse
electron
filezilla
gamescope_git
gimp
gnome.gnome-boxes
@ -46,6 +47,7 @@
libsForQt5.ark
libsForQt5.dolphin
libsForQt5.dolphin-plugins
libsForQt5.kwallet
lutris
mangohud
mesa-demos