mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
hosts: add rofi-bluetooth overlay
This commit is contained in:
parent
80202e7689
commit
168dc61213
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue