mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-17 01:55:10 +01:00
Compare commits
No commits in common. "e9015260e795d3509e0ed4f5cc7ff13731ee3688" and "06b0de2840fde8d2960990c73eaf224ef3ef5390" have entirely different histories.
e9015260e7
...
06b0de2840
3 changed files with 3 additions and 12 deletions
|
|
@ -1,11 +1,4 @@
|
||||||
{ pkgs, lib, does-it-build, my-projects-versions, ... }:
|
{ pkgs, lib, does-it-build, ... }: {
|
||||||
let
|
|
||||||
does-it-build-base = does-it-build { inherit pkgs; };
|
|
||||||
does-it-build-with-commit = does-it-build-base.overrideAttrs (finalAttrs: previousAttrs: {
|
|
||||||
DOES_IT_BUILD_OVERRIDE_VERSION = my-projects-versions.does-it-build;
|
|
||||||
});
|
|
||||||
in
|
|
||||||
{
|
|
||||||
systemd.services.does-it-build = {
|
systemd.services.does-it-build = {
|
||||||
description = "https://github.com/Noratrieb/does-it-build";
|
description = "https://github.com/Noratrieb/does-it-build";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
@ -15,7 +8,7 @@ in
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "does-it-build";
|
User = "does-it-build";
|
||||||
Group = "does-it-build";
|
Group = "does-it-build";
|
||||||
ExecStart = "${lib.getExe' (does-it-build-with-commit) "does-it-build" }";
|
ExecStart = "${lib.getExe' (does-it-build {inherit pkgs;}) "does-it-build" }";
|
||||||
Environment = "DB_PATH=/var/lib/does-it-build/db.sqlite";
|
Environment = "DB_PATH=/var/lib/does-it-build/db.sqlite";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@
|
||||||
quotdd = import (fetchTarball "https://github.com/Noratrieb/quotdd/archive/${my-projects-versions.quotdd}.tar.gz");
|
quotdd = import (fetchTarball "https://github.com/Noratrieb/quotdd/archive/${my-projects-versions.quotdd}.tar.gz");
|
||||||
does-it-build = import (fetchTarball "https://github.com/Noratrieb/does-it-build/archive/${my-projects-versions.does-it-build}.tar.gz");
|
does-it-build = import (fetchTarball "https://github.com/Noratrieb/does-it-build/archive/${my-projects-versions.does-it-build}.tar.gz");
|
||||||
|
|
||||||
inherit my-projects-versions;
|
|
||||||
|
|
||||||
inherit nixpkgs-path;
|
inherit nixpkgs-path;
|
||||||
|
|
||||||
networkingConfig = {
|
networkingConfig = {
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@
|
||||||
"slides": "0401f35c22b124b69447655f0c537badae9e223c",
|
"slides": "0401f35c22b124b69447655f0c537badae9e223c",
|
||||||
"pretense": "270b01fc1118dfd713c1c41530d1a7d98f04527d",
|
"pretense": "270b01fc1118dfd713c1c41530d1a7d98f04527d",
|
||||||
"quotdd": "e922229e1d9e055be35dabd112bafc87a0686548",
|
"quotdd": "e922229e1d9e055be35dabd112bafc87a0686548",
|
||||||
"does-it-build": "3f302c71801d6d8bca5baa57becb990aa2729b49"
|
"does-it-build": "5ec24bbfaf39edd60865b2879107835b99e133d0"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue