mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
helix fix and some useful zsh functions
This commit is contained in:
parent
4964b6036b
commit
346d04e632
10 changed files with 206 additions and 37 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, helix, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
gdb
|
||||
|
@ -24,12 +24,17 @@
|
|||
];
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
# pull helix from the flake to fix random coredumps
|
||||
package = helix.packages.x86_64-linux.default;
|
||||
languages = {
|
||||
language-server.rnix-lsp = {
|
||||
command = "rnix-lsp";
|
||||
};
|
||||
language = [
|
||||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
language-server.command = "rnix-lsp";
|
||||
language-servers = [ "rnix-lsp" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
source =
|
||||
pkgs.writeShellScript "river-init.sh" ''
|
||||
riverctl focus-follows-cursor always
|
||||
riverctl set-cursor-warp on-focus-change
|
||||
riverctl attach-mode bottom
|
||||
riverctl spawn rivertile
|
||||
riverctl default-layout rivertile
|
||||
|
@ -24,6 +25,7 @@
|
|||
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad tap enabled
|
||||
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad drag enabled
|
||||
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad middle-emulation enabled
|
||||
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad accel-profile adaptive
|
||||
|
||||
riverctl spawn "${pkgs.swaybg}/bin/swaybg -i ${../../../../images/wallpaper.png}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue