Waybar : Replace nixpkgs option with a simple package.
This commit is contained in:
parent
e2d103c4c0
commit
6c69348655
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, ... }: with lib; let
|
||||
{ lib, config, pkgs, ... }: with lib; let
|
||||
cfg = config.module.desktop.waybar;
|
||||
in {
|
||||
options = {
|
||||
|
@ -8,10 +8,7 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.waybar.enable = true;
|
||||
|
||||
# Do not start automatically ffs.
|
||||
systemd.user.services.waybar.enable = lib.mkForce false;
|
||||
environment.systemPackages = with pkgs; [ waybar ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue