✨ make use of systemPackage
This commit is contained in:
parent
aa42f6678e
commit
85de3b3ac6
8 changed files with 97 additions and 103 deletions
|
|
@ -52,6 +52,11 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
(lib.mkIf config.networking.networkmanager.enable networkmanager_dmenu)
|
||||
(lib.mkIf config.hardware.bluetooth.enable rofi-bluetooth)
|
||||
rofi-power-menu
|
||||
];
|
||||
home-manager.users.moritz = {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
|
|
@ -59,11 +64,6 @@ in
|
|||
pkgs.rofi.override { plugins = with pkgs; [ rofi-calc rofi-emoji ]; };
|
||||
extraConfig = { combi-modi = "drun,window,emoji"; };
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
(lib.mkIf config.networking.networkmanager.enable networkmanager_dmenu)
|
||||
(lib.mkIf config.hardware.bluetooth.enable rofi-bluetooth)
|
||||
rofi-power-menu
|
||||
];
|
||||
xdg = {
|
||||
enable = true;
|
||||
configFile."networkmanager-dmenu/config.ini".text = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue