Update nix setup

This commit is contained in:
eikek 2021-07-29 18:09:49 +02:00
parent 17e49f40c7
commit a7a4e8e144
2 changed files with 17 additions and 2 deletions

View File

@ -12,7 +12,7 @@ in
i18n = {
defaultLocale = "en_US.UTF-8";
};
console.keyMap = "neo";
console.keyMap = "de";
users.users.root = {
password = "root";

View File

@ -1,5 +1,20 @@
rec {
cfg = {
v0_25_0 = rec {
version = "0.25.0";
server = {
url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-restserver-${version}.zip";
sha256 = "01wdjprf3vgnpax6p49ia4yzsjz013nwgwhq0fc5ny4wv3sm1sz8";
};
joex = {
url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-joex-${version}.zip";
sha256 = "0xhbkx84qavp9sl02yf780xmfldb4c5lh33nvrzfv5qw28akvs1v";
};
tools = {
url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-tools-${version}.zip";
sha256 = "07hwsr54spiyrrca6cdzl1mlml698q04260dia5blrlvbickwibi";
};
};
v0_24_0 = rec {
version = "0.24.0";
server = {
@ -92,7 +107,7 @@ rec {
};
};
pkg = v: import ./pkg.nix v;
currentPkg = pkg cfg.v0_24_0;
currentPkg = pkg cfg.v0_25_0;
module-joex = ./module-joex.nix;
module-restserver = ./module-server.nix;
module-consumedir = ./module-consumedir.nix;