nix format
This commit is contained in:
@@ -68,7 +68,7 @@ in
|
||||
xwayland
|
||||
]
|
||||
++ (if cfg.notificationDaemon == "mako" then [ mako ] else [ dunst ])
|
||||
++ (if cfg.launcher == "wofi" then [ wofi ] else [ rofi ])
|
||||
++ (if cfg.launcher == "wofi" then [ wofi ] else [ rofi ])
|
||||
++ (with pkgs.${namespace}; [ pipewire-python ])
|
||||
);
|
||||
|
||||
|
||||
@@ -8,9 +8,11 @@
|
||||
let
|
||||
cfg = config.${namespace}.programs.waybar;
|
||||
|
||||
pythonEnv = pkgs.python3.withPackages (_ps: with pkgs.${namespace}; [
|
||||
homeassistant-api
|
||||
]);
|
||||
pythonEnv = pkgs.python3.withPackages (
|
||||
_ps: with pkgs.${namespace}; [
|
||||
homeassistant-api
|
||||
]
|
||||
);
|
||||
|
||||
waybar-hass = pkgs.writeScriptBin "waybar-hass" ''
|
||||
#!${pythonEnv}/bin/python
|
||||
|
||||
Reference in New Issue
Block a user