mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
dustin: add rbw and rofi-rbw
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
a1225d7b49
commit
62eb9fd7dd
|
@ -3,7 +3,11 @@ self: {
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
unstable = import self.inputs.nixpkgs-unstable {
|
||||
system = pkgs.system;
|
||||
};
|
||||
in {
|
||||
imports = [self.homeManagerModules.default];
|
||||
|
||||
home = {
|
||||
|
@ -21,13 +25,38 @@ self: {
|
|||
];
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
|
||||
wayland.windowManager.sway.config.input."type:keyboard" = lib.mkForce {
|
||||
rbw = {
|
||||
enable = true;
|
||||
package = unstable.rbw;
|
||||
|
||||
settings = {
|
||||
email = "dustinmraffauf@gmail.com";
|
||||
lock_timeout = 14400;
|
||||
pinentry = pkgs.pinentry-gnome3;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager = {
|
||||
hyprland.settings.bind = [
|
||||
"SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"
|
||||
];
|
||||
|
||||
sway.config = {
|
||||
input."type:keyboard" = lib.mkForce {
|
||||
xkb_layout = "us";
|
||||
xkb_variant = "altgr-intl";
|
||||
};
|
||||
|
||||
keybindings = {
|
||||
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications."application/epub+zip" = "com.calibre_ebook.calibre.desktop;org.gnome.Evince.desktop;com.calibre_ebook.calibre.ebook-viewer.desktop;";
|
||||
|
|
Loading…
Reference in a new issue