cleanup nvim merge and general janitorial work

This commit is contained in:
iofq 2026-02-26 22:17:19 -06:00
parent c544159576
commit db330b546d
30 changed files with 254 additions and 1300 deletions

View file

@ -1,11 +0,0 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
pi
];
home.file."${config.xdg.configHome}/.pi" = {
source = ./config;
recursive = true;
};
}

View file

@ -4,6 +4,7 @@
./tmux.nix
./git.nix
./fish
./pi
];
home = {
packages = with pkgs; [
@ -12,7 +13,7 @@
ripgrep
fd
jq
nvim-pkg
nvim
];
};
programs.bash = {

View file

@ -0,0 +1,31 @@
{
inputs,
config,
pkgs,
...
}:
{
imports = [ inputs.sops-nix.homeManagerModules.sops ];
sops = {
age.keyFile = "/home/e/.config/sops/age/keys.txt";
secrets = {
"pi.json" = {
key = "";
format = "json";
sopsFile = ../../../../../secrets/pi.json;
path = "${config.home.homeDirectory}/.pi/agent/auth.json";
};
};
};
home.packages = with pkgs; [
llm-agents.pi
];
home.file.".pi" = {
source = ./config;
recursive = true;
};
}

View file

@ -40,6 +40,7 @@
mako.settings = {
default-timeout = 5;
};
udiskie.enable = true;
};
programs = {
wofi = {

View file

@ -4,7 +4,7 @@
enable = true;
systemd.enable = true;
extraConfig = ''
monitor=,preferred,auto,1
monitor=,preferred,auto-left,1
'';
settings = {
"$mod" = "SUPER";
@ -93,6 +93,9 @@
",XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%"
",XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%"
",XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle"
"$mod SHIFT, m, exec, hyprctl keyword general:layout master"
"$mod SHIFT, d, exec, hyprctl keyword general:layout dwindle"
"$mod SHIFT, s, exec, hyprctl keyword general:layout scrolling"
## Movement
"$mod, m, layoutmsg, swapwithmaster"
@ -135,21 +138,22 @@
) 10
)
);
windowrulev2 = [
"workspace 9, class:^(Discord|discord)$"
"workspace 9, class:^(Signal|signal)$"
"tile, class:^(Minecraft|minecraft)$"
"opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$"
"noanim,class:^(xwaylandvideobridge)$"
"noinitialfocus,class:^(xwaylandvideobridge)$"
"maxsize 1 1,class:^(xwaylandvideobridge)$"
"noblur,class:^(xwaylandvideobridge)$"
"bordersize 0, floating:0, onworkspace:w[t1]"
"rounding 0, floating:0, onworkspace:w[t1]"
"bordersize 0, floating:0, onworkspace:w[tg1]"
"rounding 0, floating:0, onworkspace:w[tg1]"
"bordersize 0, floating:0, onworkspace:f[1]"
"rounding 0, floating:0, onworkspace:f[1]"
windowrule = [
"workspace 9, match:class ^(Discord|discord)$"
"workspace 9, match:class ^(Signal|signal)$"
"tile on, match:class ^(Minecraft|minecraft)$"
"opacity 0.0 override 0.0 override, match:class ^(xwaylandvideobridge)$"
"no_initial_focus on , match:class ^(xwaylandvideobridge)$"
"no_focus on , match:class ^(xwaylandvideobridge)$"
"no_anim on , match:class ^(xwaylandvideobridge)$"
"max_size 1 1, match:class ^(xwaylandvideobridge)$"
"no_blur on, match:class ^(xwaylandvideobridge)$"
"border_size 0, match:float 0, match:workspace w[t1]"
"rounding 0, match:float 0, match:workspace w[t1]"
"border_size 0, match:float 0, match:workspace w[tg1]"
"rounding 0, match:float 0, match:workspace w[tg1]"
"border_size 0, match:float 0, match:workspace f[1]"
"rounding 0, match:float 0, match:workspace f[1]"
];
workspace = [
"w[t1], gapsout:0, gapsin:0"
@ -173,15 +177,15 @@
enable = true;
settings = {
general = {
before_sleep_cmd = "loginctl lock-session";
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hyprlock";
lock_cmd = "pidof hyprlock || hyprlock";
};
listener = [
{
timeout = 1500;
on-timeout = "hyprlock; hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
timeout = 1800;
on-timeout = "systemctl suspend";
}
];
};