diff --git a/flake.lock b/flake.lock index 81c6c8c..f9c8ec0 100644 --- a/flake.lock +++ b/flake.lock @@ -35,36 +35,20 @@ "crate2nix": { "flake": false, "locked": { - "lastModified": 1600704184, - "narHash": "sha256-PaLz9kGAfmumbftRBqbDlUVOxXey1Mt/LS3Tov//1PU=", + "lastModified": 1603629926, + "narHash": "sha256-mQg9HzU0tRCKgk8GFhQ2QrxyCUjGgsJqH5JA4SZDyc4=", "owner": "balsoft", "repo": "crate2nix", - "rev": "f26503fece52ce143e207dceff337c83ff4c2f65", + "rev": "9b7b8ea918e3b28538868f8aeb8318f02bb75cb9", "type": "github" }, "original": { "owner": "balsoft", - "ref": "balsoft/callcrate", + "ref": "balsoft/fix-tools-nix", "repo": "crate2nix", "type": "github" } }, - "crates-io-index": { - "flake": false, - "locked": { - "lastModified": 1600641984, - "narHash": "sha256-u2juQ6LmitgAlj/lztMhjw6i0dIFEUdyVfYYIABWw90=", - "owner": "rust-lang", - "repo": "crates.io-index", - "rev": "6adca9dd72305e56efc0bd516b6324d2542f71d1", - "type": "github" - }, - "original": { - "owner": "rust-lang", - "repo": "crates.io-index", - "type": "github" - } - }, "haskell-nix": { "locked": { "lastModified": 1587989559, @@ -346,15 +330,14 @@ "simple-osd-daemons": { "inputs": { "crate2nix": "crate2nix", - "crates-io-index": "crates-io-index", "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1600704328, - "narHash": "sha256-NIhp+XxMAFJGPWXeGpYRJMhl9ai9TC0LPV4x9KavTGk=", + "lastModified": 1603630365, + "narHash": "sha256-HO8yS9S63EOMBmbxjA5emTwj/GjoEa9cZjv74s3dRsE=", "ref": "master", - "rev": "6ac095c9be38863155991dff66ca5b4a10ddb811", - "revCount": 17, + "rev": "933dcefc7b1f05e1d79a17adf34580c080eedb75", + "revCount": 19, "type": "git", "url": "ssh://gitea@code.balsoft.ru/balsoft/simple-osd-daemons" }, diff --git a/modules/simple-osd-daemons.nix b/modules/simple-osd-daemons.nix index 57025e7..90e57d3 100644 --- a/modules/simple-osd-daemons.nix +++ b/modules/simple-osd-daemons.nix @@ -4,6 +4,7 @@ let Install.WantedBy = [ "default.target" ]; Service = { ExecStart = "${pkgs.simple-osd.${name}}/bin/simple-osd-${name}"; + Restart = "always"; }; }; inherit (import ../support.nix { inherit lib config; }) genIni;