Reformat nix source file using nixfmt

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 2e4a532958
commit 9201969c1b
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
220 changed files with 3169 additions and 2487 deletions

View file

@ -3,16 +3,22 @@
config,
pkgs,
...
}: let
}:
let
cfg = config.david.programs.waypaper;
in {
in
{
options = {
david.programs.waypaper = {
enable = lib.mkEnableOption "waypaper";
};
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [waypaper socat mpvpaper];
home.packages = with pkgs; [
waypaper
socat
mpvpaper
];
systemd.user = {
timers."waypaper" = {
Unit = {
@ -23,7 +29,7 @@ in {
OnCalendar = "*:0/10";
};
Install = {
WantedBy = ["timers.target"];
WantedBy = [ "timers.target" ];
};
};
services."waypaper" = {