treewide: format using nixfmt
Signed-off-by: Bloxx12 <charlie@charlieroot.dev> Change-Id: I6a6a69641c36f9763e104087a559c148d0449f00
This commit is contained in:
parent
f4464732e3
commit
e641dfa114
113 changed files with 1545 additions and 1019 deletions
|
@ -3,12 +3,14 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (lib.meta) getExe';
|
||||
inherit (lib.modules) mkIf;
|
||||
|
||||
cfg = config.modules.system.services.owncloud;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.modules.system.services.owncloud.enable = lib.mkEnableOption "owncloud";
|
||||
|
||||
config = {
|
||||
|
@ -16,11 +18,11 @@ in {
|
|||
description = "Owncloud client service";
|
||||
|
||||
# makes the graphical session start this service when it starts
|
||||
wantedBy = ["graphical-session.target"];
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
# when graphical session restarts or gets stopped, this also gets restarted/stopped.
|
||||
partOf = ["graphical-session.target"];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
# gets started only after graphical session
|
||||
after = ["graphical-session.target"];
|
||||
after = [ "graphical-session.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${getExe' pkgs.owncloud-client "owncloud"}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue