diff --git a/home/bash.nix b/home/bash.nix index e94f08e..c3c4fca 100644 --- a/home/bash.nix +++ b/home/bash.nix @@ -29,6 +29,8 @@ "gaa" = "git add -A"; "gb" = "git branch"; + "rm" = "rm -i"; # help me awoid accidental removals. + "sl" = "eza"; "ls" = "eza"; "lls" = "ls"; diff --git a/home/gtklock.nix b/home/gtklock.nix index 2be6f3b..88d2138 100644 --- a/home/gtklock.nix +++ b/home/gtklock.nix @@ -1,4 +1,4 @@ -{ +{ pkgs, config, lib, @@ -82,4 +82,3 @@ in } ''; } - diff --git a/home/neovim.nix b/home/neovim.nix index ae3d9c6..55792a4 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -35,6 +35,7 @@ chadtree typst-vim typst-preview-nvim + aider-nvim #magma-nvim #jupyter #molten-nvim #jupyter ]; diff --git a/home/niri.nix b/home/niri.nix index 370f6d8..2482f71 100644 --- a/home/niri.nix +++ b/home/niri.nix @@ -67,7 +67,7 @@ let //switch events for open closing lid. switch-events { - lid-close { spawn "gtklock"; } + //lid-close { spawn "gtklock"; } //lid-open { spawn "notify-send" "The laptop lid is open!"; } tablet-mode-on { spawn "bash" "-c" "wvkbd-mobintl"; } tablet-mode-off { spawn "bash" "-c" "pkill wvkbd-mobintl"; } @@ -235,7 +235,7 @@ let spawn-at-startup "mako" spawn-at-startup "swww-daemon" spawn-at-startup "sh" "-c" "while true; do waybar; done" //disabled to a systemd service. in a while because it sometimes crashes. - spawn-at-startup "sh" "-c" "while true; do swww img -t random --transition-step 2 \"$(find ~/Pictures/wallpapers/ -type l,f | shuf -n 1)\"; sleep 270; done" + spawn-at-startup "sh" "-c" "while true; do swww img --transition-step 2 \"$(find ~/Pictures/wallpapers/ -type l,f | shuf -n 1)\"; sleep 270; done" // Uncomment this line to ask the clients to omit their client-side decorations if possible. diff --git a/hosts/legolas/hardware-configuration.nix b/hosts/legolas/hardware-configuration.nix index bd98587..25f9415 100644 --- a/hosts/legolas/hardware-configuration.nix +++ b/hosts/legolas/hardware-configuration.nix @@ -12,6 +12,10 @@ { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + #boot.kernelPackages = pkgs.linuxPackages_xanmod_latest; + #boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.linuxPackages_zen; + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme"