hosts: add rofi-bluetooth overlay

This commit is contained in:
Aly Raffauf 2024-07-26 00:21:42 -04:00
parent 80202e7689
commit 168dc61213
2 changed files with 28 additions and 3 deletions

View file

@ -7,7 +7,10 @@
cfg = config.ar.home;
in {
config = lib.mkIf cfg.apps.rofi.enable {
home.packages = [pkgs.networkmanager_dmenu];
home.packages = [
pkgs.networkmanager_dmenu
pkgs.rofi-bluetooth
];
programs.rofi = {
enable = true;

View file

@ -1,4 +1,8 @@
{config, ...}: {
{
config,
pkgs,
...
}: {
environment.variables.FLAKE = "github:alyraffauf/nixcfg";
nix.settings = {
@ -16,8 +20,26 @@
trusted-users = ["aly"];
};
nixpkgs.config.allowUnfree = true; # Allow unfree packages
nixpkgs = {
config.allowUnfree = true; # Allow unfree packages
overlays = [
(final: prev: {
rofi-bluetooth =
prev.rofi-bluetooth.overrideAttrs
(old: {
version = "unstable-2024-07-25";
src = pkgs.fetchFromGitHub {
owner = "alyraffauf";
repo = old.pname;
rev = "50252e4a9aebe4899a6ef2f7bc11d91b7e4aa8ae";
sha256 = "sha256-o0Sr3/888L/2KzZZP/EcXx+8ZUzdHB/I/VIeVuJvJks=";
};
});
})
];
};
system.autoUpgrade = {
enable = true;
allowReboot = true;