treewide: format files
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -1,15 +1,21 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.eww = {
|
||||
enable = true;
|
||||
package = pkgs.eww;
|
||||
configDir = lib.cleanSourceWith {
|
||||
src = ./.;
|
||||
filter = name: _:
|
||||
filter =
|
||||
name: _:
|
||||
let
|
||||
baseName = baseNameOf (toString name);
|
||||
in
|
||||
!(lib.hasSuffix ".nix" baseName);
|
||||
!(lib.hasSuffix ".nix" baseName);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -20,24 +26,24 @@
|
||||
};
|
||||
Service =
|
||||
let
|
||||
deps = [
|
||||
config.programs.eww.package
|
||||
] ++ lib.optional
|
||||
config.wayland.windowManager.hyprland.enable
|
||||
config.wayland.windowManager.hyprland.package
|
||||
++ (with pkgs; [
|
||||
coreutils
|
||||
bash
|
||||
jq
|
||||
less
|
||||
gawk
|
||||
socat
|
||||
playerctl
|
||||
networkmanager
|
||||
iwgtk
|
||||
wireplumber
|
||||
])
|
||||
++ lib.optional config.laptop pkgs.light;
|
||||
deps =
|
||||
[
|
||||
config.programs.eww.package
|
||||
]
|
||||
++ lib.optional config.wayland.windowManager.hyprland.enable config.wayland.windowManager.hyprland.package
|
||||
++ (with pkgs; [
|
||||
coreutils
|
||||
bash
|
||||
jq
|
||||
less
|
||||
gawk
|
||||
socat
|
||||
playerctl
|
||||
networkmanager
|
||||
iwgtk
|
||||
wireplumber
|
||||
])
|
||||
++ lib.optional config.laptop pkgs.light;
|
||||
in
|
||||
{
|
||||
Type = "simple";
|
||||
@@ -48,4 +54,3 @@
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user