nixfmt
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
{ config, pkgs, lib, namespace, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.${namespace}.desktop.hyprland;
|
||||
|
||||
@@ -26,7 +32,10 @@ in
|
||||
imports = [ ../../../home/desktop/hyprland/options.nix ];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ bing-wallpaper pkgs.jq ];
|
||||
environment.systemPackages = [
|
||||
bing-wallpaper
|
||||
pkgs.jq
|
||||
];
|
||||
|
||||
services = {
|
||||
displayManager = {
|
||||
@@ -66,7 +75,7 @@ in
|
||||
xwayland.enable = true;
|
||||
portalPackage = lib.mkDefault pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
|
||||
nm-applet.enable = true;
|
||||
};
|
||||
|
||||
@@ -121,18 +130,18 @@ in
|
||||
reload-bing-wallpaper = {
|
||||
description = "Timer for reload-bing-wallpaper";
|
||||
wantedBy = [ "timers.target" ];
|
||||
|
||||
|
||||
# Timer configuration
|
||||
timerConfig = {
|
||||
OnCalendar = "daily"; # Check every day
|
||||
Persistent = true; # Run immediately if last run was missed
|
||||
OnCalendar = "daily"; # Check every day
|
||||
Persistent = true; # Run immediately if last run was missed
|
||||
Unit = "reload-bing-wallpaper.service";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
DefaultTimeoutStopSec=10s
|
||||
DefaultTimeoutStopSec=10s
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user