update
This commit is contained in:
parent
af36587230
commit
0a4c38be44
|
@ -32,6 +32,11 @@
|
||||||
};
|
};
|
||||||
# Kakoune Plugins End
|
# Kakoune Plugins End
|
||||||
|
|
||||||
|
nixvim = {
|
||||||
|
url = "github:pta2002/nixvim";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
xorg-git = {
|
xorg-git = {
|
||||||
url = "gitlab:xorg/xserver?host=gitlab.freedesktop.org";
|
url = "gitlab:xorg/xserver?host=gitlab.freedesktop.org";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
|
@ -111,6 +111,14 @@
|
||||||
security.audit.enable = false;
|
security.audit.enable = false;
|
||||||
security.auditd.enable = false;
|
security.auditd.enable = false;
|
||||||
|
|
||||||
|
security.pam.loginLimits = [{
|
||||||
|
domain = "*";
|
||||||
|
type = "soft";
|
||||||
|
item = "nofile";
|
||||||
|
value = "262144";
|
||||||
|
}];
|
||||||
|
|
||||||
|
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
ec = ''
|
ec = ''
|
||||||
pushd &> /dev/null
|
pushd &> /dev/null
|
||||||
cd "${config.home.homeDirectory}"
|
cd "${config.home.homeDirectory}/.dotfiles"
|
||||||
set "filename" (${pkgs.fd}/bin/fd -t f . ~/.dotfiles | \
|
set "filename" (${pkgs.fd}/bin/fd -t f . ~/.dotfiles | \
|
||||||
${pkgs.fzf}/bin/fzf -q "$argv[1]" \
|
${pkgs.fzf}/bin/fzf -q "$argv[1]" \
|
||||||
--preview "${pkgs.python3Packages.pygments}/bin/pygmentize -g -O linenos=1 {}")
|
--preview "${pkgs.python3Packages.pygments}/bin/pygmentize -g -O linenos=1 {}")
|
||||||
|
@ -69,6 +69,7 @@
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
nf = "${pkgs.pfetch}/bin/pfetch";
|
nf = "${pkgs.pfetch}/bin/pfetch";
|
||||||
|
e = "${pkgs.neovim}/bin/nvim";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -13,7 +13,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.kakoune = {
|
programs.kakoune = {
|
||||||
enable = true;
|
enable = false;
|
||||||
plugins = with pkgs.kakounePlugins; [
|
plugins = with pkgs.kakounePlugins; [
|
||||||
kak-lsp
|
kak-lsp
|
||||||
kakboard
|
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 = [
|
imports = [
|
||||||
nix-colors.homeManagerModule
|
nix-colors.homeManagerModule
|
||||||
./configs/beets/beets.nix
|
./configs/beets
|
||||||
./configs/cava/cava.nix
|
./configs/cava
|
||||||
./configs/kakoune/kakoune.nix
|
./configs/kakoune
|
||||||
./configs/wayland/hyprland.nix
|
./configs/wayland/hyprland.nix
|
||||||
#./configs/wayland/sway.nix
|
#./configs/wayland/sway.nix
|
||||||
./configs/fish/fish.nix
|
./configs/fish
|
||||||
./configs/mpd/mpd.nix
|
./configs/mpd
|
||||||
./configs/mpv/mpv.nix
|
./configs/mpv
|
||||||
./configs/firefox/firefox.nix
|
./configs/neovim
|
||||||
|
./configs/firefox
|
||||||
./configs/dircolors.nix
|
./configs/dircolors.nix
|
||||||
./configs/xdg-mime.nix
|
./configs/xdg-mime.nix
|
||||||
];
|
];
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
sxiv
|
sxiv
|
||||||
thunderbird
|
thunderbird
|
||||||
twemoji-color-font
|
twemoji-color-font
|
||||||
|
vimv
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
vulkan-validation-layers
|
vulkan-validation-layers
|
||||||
webcord
|
webcord
|
||||||
|
@ -60,7 +62,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "kak";
|
EDITOR = "nvim";
|
||||||
WINEDLLOVERRIDES = "winemenubuilder.exe=d";
|
WINEDLLOVERRIDES = "winemenubuilder.exe=d";
|
||||||
RADV_PERFTEST = "gpl";
|
RADV_PERFTEST = "gpl";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
Reference in New Issue