mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:13:55 -05:00
hosts: add rofi-bluetooth overlay
This commit is contained in:
parent
80202e7689
commit
168dc61213
|
@ -7,7 +7,10 @@
|
||||||
cfg = config.ar.home;
|
cfg = config.ar.home;
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf cfg.apps.rofi.enable {
|
config = lib.mkIf cfg.apps.rofi.enable {
|
||||||
home.packages = [pkgs.networkmanager_dmenu];
|
home.packages = [
|
||||||
|
pkgs.networkmanager_dmenu
|
||||||
|
pkgs.rofi-bluetooth
|
||||||
|
];
|
||||||
|
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{config, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
environment.variables.FLAKE = "github:alyraffauf/nixcfg";
|
environment.variables.FLAKE = "github:alyraffauf/nixcfg";
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
|
@ -16,8 +20,26 @@
|
||||||
trusted-users = ["aly"];
|
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 = {
|
system.autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowReboot = true;
|
allowReboot = true;
|
||||||
|
|
Loading…
Reference in a new issue