Nix fmt rfc style (more or less)
This commit is contained in:
parent
e7496c447a
commit
515f098644
146 changed files with 2607 additions and 906 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
let update_time = "10m";
|
||||
in {
|
||||
let
|
||||
update_time = "10m";
|
||||
in
|
||||
{
|
||||
home.packages = [ pkgs.update-background ];
|
||||
|
||||
systemd.user.services."update-background" = {
|
||||
|
|
@ -10,7 +12,9 @@ in {
|
|||
PartOf = [ "graphical-session.target" ];
|
||||
RequiresMountsFor = [ "/home/bertof/Immagini" ];
|
||||
};
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
IOSchedulingClass = "idle";
|
||||
|
|
@ -19,8 +23,14 @@ in {
|
|||
};
|
||||
|
||||
systemd.user.timers."update-background" = {
|
||||
Unit = { Description = "Set random desktop background using feh"; };
|
||||
Timer = { OnUnitActiveSec = update_time; };
|
||||
Install = { WantedBy = [ "timers.target" ]; };
|
||||
Unit = {
|
||||
Description = "Set random desktop background using feh";
|
||||
};
|
||||
Timer = {
|
||||
OnUnitActiveSec = update_time;
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "timers.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue