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
|
@ -2,7 +2,8 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (lib.meta) getExe;
|
||||
|
||||
custom-wayneko = pkgs.wayneko.overrideAttrs {
|
||||
|
@ -16,16 +17,17 @@
|
|||
|
||||
hash = "";
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
systemd.user.services.wayneko = {
|
||||
description = "Wayneko, as a systemd 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 = ''
|
||||
|
@ -39,7 +41,7 @@ in {
|
|||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
|
||||
CapabilityBoundingSet = [""];
|
||||
CapabilityBoundingSet = [ "" ];
|
||||
DevicePolicy = "closed";
|
||||
LockPersonality = true;
|
||||
MemoryDenyWriteExecute = true;
|
||||
|
@ -65,7 +67,7 @@ in {
|
|||
RestrictRealTime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
|
||||
SystemCallArchitectures = ["native"];
|
||||
SystemCallArchitectures = [ "native" ];
|
||||
|
||||
SystemCallFilter = "~@clock @cpu-emulation @debug @obsolete @module @mount @raw-io @reboot @swap @privileged";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue