This commit is contained in:
Miguel Palhas
2024-11-17 11:05:05 +00:00
parent 5978e60afb
commit b58dc91ae5
9 changed files with 64 additions and 23 deletions
+25 -16
View File
@@ -8,22 +8,31 @@
{
programs.gpg = {
enable = true;
agent = {
enable = true;
enableScDaemon = true;
};
pinentry = {
enable = true;
pinentryFlavor = "gnome3";
};
settings = {
keyserver = "hkps://keys.openpgp.org";
use-agent = true;
use-agent-extra = true;
no-greeting = true;
verbose = true;
};
};
programs.password-store.enable = true;
home.packages = with pkgs; [ pinentry-gnome3 ];
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gnome3;
};
# pinentry = {
# enable = true;
# pinentryFlavor = "gnome3";
# };
# settings = {
# keyserver = "hkps://keys.openpgp.org";
# use-agent = true;
# use-agent-extra = true;
# no-greeting = true;
# verbose = true;
# };
# };
programs.password-store = {
enable = true;
settings = {
PASSWORD_STORE_DIR = "~/sync/pass";
};
};
}
+14 -2
View File
@@ -151,6 +151,12 @@ in
"$mod SHIFT, 5, movetoworkspace, 5"
"$mod SHIFT, 6, movetoworkspace, 6"
# Move active window inside workspace
"$mod SHIFT, h, movewindow, l"
"$mod SHIFT, j, movewindow, d"
"$mod SHIFT, k, movewindow, u"
"$mod SHIFT, l, movewindow, r"
# Scroll through existing workspaces with mod + scroll
"$mod, mouse_down, workspace, e+1"
"$mod, mouse_up, workspace, e-1"
@@ -163,8 +169,14 @@ in
", XF86AudioNext, exec, playerctl next"
", XF86AudioPrev, exec, playerctl previous"
", XF86AudioPlay, exec, playerctl play-pause"
", XF86MonBrightnessUp, exec, lightctl up"
", XF86MonBrightnessDown, exec, lightctl down"
", XF86MonBrightnessUp, exec, brightnessctl set 5%+"
", XF86MonBrightnessDown, exec, brightnessctl set 5%-"
];
bindm = [
# Move/resize windows with mod + LMB/RMB and dragging
"$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow"
];
};
};
+7
View File
@@ -7,4 +7,11 @@
];
home.sessionPath = [ "\${CARGO_HOME:-~/.cargo}/bin" ];
systemd.user.services.ra-multiplex = {
Service = {
ExecStart = "/home/naps62/.cargo/bin/ra-multiplex server";
};
Install.WantedBy = [ "multi-user.target" ];
};
}
+3
View File
@@ -26,6 +26,7 @@
ps = "procs";
open = "xdg-open";
o = "xdg-open";
v = "nohup neovide &; disown";
# cd
".." = "cd ..";
@@ -65,6 +66,8 @@
# asdf-vm
. "$HOME/.nix-profile/share/asdf-vm/asdf.sh"
[[ -f ~/.secrets.zsh ]] && source ~/.secrets.zsh
'';
};