Fixed bootloader and added/fixed rofi-pass

This commit is contained in:
marc
2023-01-20 21:00:19 +01:00
parent e436a4be3b
commit 3aa810d7b3
5 changed files with 164 additions and 16 deletions

View File

@@ -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";
};