Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-08-30 12:14:10 +03:00
parent eaeb6aa4c6
commit f346fd71f1
3 changed files with 19 additions and 19 deletions

24
flake.lock generated
View File

@@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1724639687, "lastModified": 1724895876,
"narHash": "sha256-L2h46/z8WExNvtCEdZ8YuMu5TwfAGsKXXgM7pyIShvs=", "narHash": "sha256-GSqAwa00+vRuHbq9O/yRv7Ov7W/pcMLis3HmeHv8a+Q=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "b09eb605e376c9e95c87c0ef3fcb8008e11c8368", "rev": "511388d837178979de66d14ca4a2ebd5f7991cd3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -80,11 +80,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1724670544, "lastModified": 1725009188,
"narHash": "sha256-7za1JBVe0fFL6KszXfMustm7a8UcRheYb7EoxjmfJdc=", "narHash": "sha256-rFtz92YsCZfEwo2qY7Dp7QnnpcwGkxC3P1EXvWR9MCY=",
"owner": "karaolidis", "owner": "karaolidis",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1ab1eef99517ad4abadb2d5e6b2cb156d01cb232", "rev": "11ca92135921ba7239a58f7ff7422a30e5f418c4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -112,11 +112,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1724669217, "lastModified": 1725005047,
"narHash": "sha256-LcNevLp1iVbTSn3tyWt52tIVtrd3KI8dgcxaNcU1ZsI=", "narHash": "sha256-aOWD3f0lrSKxEhLUiXEWx0HivldrQFNLtgITkE1Xkwo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "c750bf577d9d49ee35178aa0c38dda55f1f04a14", "rev": "383616340f6312002a185f8c605bd96e59e37ae0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -165,11 +165,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1724645793, "lastModified": 1724991403,
"narHash": "sha256-z0QdJ8N24msqy6uakRNHpCsrNsswTA9/Evsd3+DOAZc=", "narHash": "sha256-n0os3uymBUoGlikG87Yp7oisYGrkEwsm3nptS9FhdAk=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "2e3b9ea2f89113d71ab57127ca7226253afd2660", "rev": "0965e58aa38245b2105fec2949a9463fe34e3f05",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -178,11 +178,7 @@ in
requires = [ c.service ]; requires = [ c.service ];
bindsTo = [ c.service ]; bindsTo = [ c.service ];
after = [ c.service ]; after = [ c.service ];
unitConfig = { unitConfig.ConditionPathExists = [ (lib.strings.escape [ " " ] c._source) ];
ConditionPathExists = [ (lib.strings.escape [ " " ] c._source) ];
RefuseManualStart = true;
RefuseManualStop = true;
};
what = c._source; what = c._source;
where = c._target; where = c._target;
options = lib.strings.concatStringsSep "," ([ options = lib.strings.concatStringsSep "," ([
@@ -208,7 +204,11 @@ in
"umount.target" "umount.target"
]; ];
conflicts = [ "umount.target" ]; conflicts = [ "umount.target" ];
unitConfig.DefaultDependencies = false; unitConfig = {
DefaultDependencies = false;
RefuseManualStart = true;
RefuseManualStop = true;
};
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;