mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 20:33: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,11 +25,36 @@ self: {
|
|||
];
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
|
||||
wayland.windowManager.sway.config.input."type:keyboard" = lib.mkForce {
|
||||
xkb_layout = "us";
|
||||
xkb_variant = "altgr-intl";
|
||||
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 = {
|
||||
|
|
Loading…
Reference in a new issue