update
This commit is contained in:
parent
af36587230
commit
0a4c38be44
|
@ -32,6 +32,11 @@
|
|||
};
|
||||
# Kakoune Plugins End
|
||||
|
||||
nixvim = {
|
||||
url = "github:pta2002/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
xorg-git = {
|
||||
url = "gitlab:xorg/xserver?host=gitlab.freedesktop.org";
|
||||
flake = false;
|
||||
|
|
|
@ -111,6 +111,14 @@
|
|||
security.audit.enable = false;
|
||||
security.auditd.enable = false;
|
||||
|
||||
security.pam.loginLimits = [{
|
||||
domain = "*";
|
||||
type = "soft";
|
||||
item = "nofile";
|
||||
value = "262144";
|
||||
}];
|
||||
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
ec = ''
|
||||
pushd &> /dev/null
|
||||
cd "${config.home.homeDirectory}"
|
||||
cd "${config.home.homeDirectory}/.dotfiles"
|
||||
set "filename" (${pkgs.fd}/bin/fd -t f . ~/.dotfiles | \
|
||||
${pkgs.fzf}/bin/fzf -q "$argv[1]" \
|
||||
--preview "${pkgs.python3Packages.pygments}/bin/pygmentize -g -O linenos=1 {}")
|
||||
|
@ -69,6 +69,7 @@
|
|||
};
|
||||
shellAliases = {
|
||||
nf = "${pkgs.pfetch}/bin/pfetch";
|
||||
e = "${pkgs.neovim}/bin/nvim";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -13,7 +13,7 @@ let
|
|||
in
|
||||
{
|
||||
programs.kakoune = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
plugins = with pkgs.kakounePlugins; [
|
||||
kak-lsp
|
||||
kakboard
|
|
@ -0,0 +1,60 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
|
||||
globals = { };
|
||||
|
||||
colorschemes.gruvbox = {
|
||||
enable = true;
|
||||
transparentBg = true;
|
||||
};
|
||||
|
||||
autoCmd = [
|
||||
{
|
||||
event = [ "VimEnter" ];
|
||||
pattern = [ "*" ];
|
||||
command = "hi! Normal ctermbg=NONE guibg=NONE";
|
||||
}
|
||||
];
|
||||
|
||||
options = {
|
||||
number = true;
|
||||
ignorecase = true;
|
||||
smartcase = true;
|
||||
tabstop = 2;
|
||||
shiftwidth = 2;
|
||||
expandtab = true;
|
||||
autoindent = true;
|
||||
};
|
||||
|
||||
plugins = {
|
||||
intellitab.enable = true;
|
||||
airline = {
|
||||
enable = true;
|
||||
powerline = true;
|
||||
theme = "base16_gruvbox_dark_medium";
|
||||
};
|
||||
fugitive.enable = true;
|
||||
lsp.enable = true;
|
||||
nvim-autopairs.enable = true;
|
||||
nvim-colorizer.enable = true;
|
||||
nvim-lightbulb.enable = true;
|
||||
neo-tree.enable = true;
|
||||
treesitter.enable = true;
|
||||
};
|
||||
|
||||
maps = {
|
||||
normal."<C-n>" = {
|
||||
silent = true;
|
||||
action = "<cmd>NeoTreeFocusToggle<CR>";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
@ -2,15 +2,16 @@
|
|||
{
|
||||
imports = [
|
||||
nix-colors.homeManagerModule
|
||||
./configs/beets/beets.nix
|
||||
./configs/cava/cava.nix
|
||||
./configs/kakoune/kakoune.nix
|
||||
./configs/beets
|
||||
./configs/cava
|
||||
./configs/kakoune
|
||||
./configs/wayland/hyprland.nix
|
||||
#./configs/wayland/sway.nix
|
||||
./configs/fish/fish.nix
|
||||
./configs/mpd/mpd.nix
|
||||
./configs/mpv/mpv.nix
|
||||
./configs/firefox/firefox.nix
|
||||
./configs/fish
|
||||
./configs/mpd
|
||||
./configs/mpv
|
||||
./configs/neovim
|
||||
./configs/firefox
|
||||
./configs/dircolors.nix
|
||||
./configs/xdg-mime.nix
|
||||
];
|
||||
|
@ -50,6 +51,7 @@
|
|||
sxiv
|
||||
thunderbird
|
||||
twemoji-color-font
|
||||
vimv
|
||||
vulkan-tools
|
||||
vulkan-validation-layers
|
||||
webcord
|
||||
|
@ -60,7 +62,7 @@
|
|||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "kak";
|
||||
EDITOR = "nvim";
|
||||
WINEDLLOVERRIDES = "winemenubuilder.exe=d";
|
||||
RADV_PERFTEST = "gpl";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
|
|
Reference in New Issue