Fixed bootloader and added/fixed rofi-pass
This commit is contained in:
@@ -11,7 +11,7 @@ in
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "curses";
|
||||
pinentryFlavor = "qt";
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
pinentry
|
||||
|
||||
@@ -12,9 +12,22 @@ in
|
||||
samfelag.modules.system.gpg.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
pass
|
||||
rofi-pass
|
||||
];
|
||||
|
||||
hm.programs.rofi.pass = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
_rofi () {
|
||||
rofi -i -no-auto-select -theme /home/marc/.config/rofi/menus/pass/pass.rasi "$@"
|
||||
}
|
||||
|
||||
fix_layout=true
|
||||
layout_cmd () {
|
||||
setxkbmap
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf desktopCfg.enable {
|
||||
"${desktopCfg.i3.mod}+p" = "exec rofi-pass";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user