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

View File

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