Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 196cc470050d
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fe58ddb04385
Choose a head ref

Commits on Apr 13, 2020

  1. disk-filltest: init at 0.8.1

    caadar committed Apr 13, 2020
    Copy the full SHA
    a1582ae View commit details
  2. maintainers: add caadar

    caadar committed Apr 13, 2020
    Copy the full SHA
    660edd4 View commit details

Commits on May 18, 2020

  1. Copy the full SHA
    b1d8188 View commit details
  2. Copy the full SHA
    597e2df View commit details
  3. tamzen: init at 1.11.4

    wishfort36 committed May 18, 2020
    Copy the full SHA
    c7551f4 View commit details

Commits on May 19, 2020

  1. Copy the full SHA
    69756ad View commit details

Commits on May 21, 2020

  1. maintainers: add kloenk

    kloenk committed May 21, 2020
    Copy the full SHA
    a31de7b View commit details
  2. Copy the full SHA
    829ebc5 View commit details

Commits on May 22, 2020

  1. Copy the full SHA
    3eb91ff View commit details
  2. maintainers: add kimat

    kimat committed May 22, 2020
    Copy the full SHA
    0b9117c View commit details
  3. libgit2_0_27: init at 0.27

    kimat committed May 22, 2020
    Copy the full SHA
    882000f View commit details
  4. Copy the full SHA
    c270ecd View commit details

Commits on May 23, 2020

  1. Copy the full SHA
    3224425 View commit details
  2. Copy the full SHA
    ebd51fc View commit details
  3. Copy the full SHA
    fe1664f View commit details
  4. Copy the full SHA
    38cb787 View commit details

Commits on May 24, 2020

  1. Copy the full SHA
    ebea0f1 View commit details
  2. Copy the full SHA
    563a3f5 View commit details
  3. Copy the full SHA
    f66a4a2 View commit details
  4. Copy the full SHA
    9cefba1 View commit details
  5. yara: 3.11.0 -> 4.0.1

    zowoq committed May 24, 2020
    Copy the full SHA
    1aec2c7 View commit details
  6. Copy the full SHA
    0e283da View commit details
  7. sqlcipher: 4.3.0 -> 4.4.0

    r-ryantm committed May 24, 2020
    Copy the full SHA
    212b9f3 View commit details
  8. sqlcipher: install manpage

    marsam committed May 24, 2020
    Copy the full SHA
    0674b0d View commit details
  9. sqlcipher: update homepage

    marsam committed May 24, 2020
    Copy the full SHA
    62e86e4 View commit details
  10. Copy the full SHA
    6e8456e View commit details
  11. Copy the full SHA
    72716b7 View commit details
  12. Copy the full SHA
    dd75f7b View commit details
  13. Copy the full SHA
    32fccf3 View commit details
  14. dockerTools: Properly add /nix/ and /nix/store/ first to layer.tar

    In NixOS/nixpkgs#58431 the authors ensured that
    the resulting layer.tar would always list
    
      /nix/
      /nix/store/
    
    first to fully comply to the tar spec. Various refactorings later it is only
    ensured to create /nix/ but NOT /nix/store anymore. Instead tar transformed
    them to /nix/nix and /nix/nix/store.
    Alex Biehl committed May 24, 2020
    Copy the full SHA
    886c923 View commit details
  15. Merge pull request #88762 from alexbiehl/alex/docker-tools

    dockerTools: Properly add /nix/ and /nix/store/ first to layer.tar
    shlevy authored May 24, 2020
    Copy the full SHA
    fffa6e8 View commit details
  16. lieer: 1.1 -> 1.2

    flokli committed May 24, 2020
    Copy the full SHA
    cd7f1f9 View commit details
  17. Copy the full SHA
    eaea983 View commit details
  18. Merge pull request #87842 from wishfort36/tamzen-1.11.4

    tamzen: init at 1.11.4
    rnhmjoj authored May 24, 2020
    Copy the full SHA
    21537c4 View commit details
  19. nixos/cde: add extraPackages option

    gnidorah committed May 24, 2020
    Copy the full SHA
    3f20aa9 View commit details
  20. Copy the full SHA
    0476b97 View commit details
  21. Merge pull request #87934 from gnidorah/cde

    nixos/cde: add extraPackages option
    markuskowa authored May 24, 2020
    Copy the full SHA
    ff88568 View commit details
  22. Merge pull request #82242 from caadar/disk-filltest

    disk-filltest: init at 0.8.1
    markuskowa authored May 24, 2020
    Copy the full SHA
    cc33cfe View commit details
  23. Merge pull request #88198 from r-ryantm/auto-update/omnisharp-roslyn

    omnisharp-roslyn: 1.35.0 -> 1.35.1
    markuskowa authored May 24, 2020
    Copy the full SHA
    2be0555 View commit details
  24. Merge pull request #86070 from kimat/kimat-gitin

    gitAndTools.gitin: init at 0.27.8
    talyz authored May 24, 2020
    Copy the full SHA
    985d726 View commit details
  25. nixos/engelsystem: init

    kloenk committed May 24, 2020
    Copy the full SHA
    fc4d6f4 View commit details
  26. nixos/engelsystem: Add test

    talyz authored and kloenk committed May 24, 2020
    Copy the full SHA
    1e343d1 View commit details
  27. Copy the full SHA
    a6caa07 View commit details
  28. mdcat: 0.17.0 -> 0.17.1

    davidtwco committed May 24, 2020
    Copy the full SHA
    76b6bf2 View commit details
  29. uncrustify: 0.70.1 -> 0.71.0

    r-ryantm authored and bjornfor committed May 24, 2020
    Copy the full SHA
    8541421 View commit details
  30. Merge pull request #82753 from Kloenk/feature/engelsystem

    engelsystem: init at 3.1.0
    talyz authored May 24, 2020
    Copy the full SHA
    825e20f View commit details
  31. ripcord: 0.4.24 -> 0.4.25

    claudiiii committed May 24, 2020
    Copy the full SHA
    bd3da96 View commit details
  32. Merge pull request #88737 from r-ryantm/auto-update/python2.7-unidiff

    python27Packages.unidiff: 0.5.5 -> 0.6.0
    marsam authored May 24, 2020
    Copy the full SHA
    0177ec7 View commit details
  33. Merge pull request #88747 from zowoq/yara

    yara: 3.11.0 -> 4.0.1
    marsam authored May 24, 2020
    Copy the full SHA
    078763f View commit details
  34. Merge pull request #88755 from r-ryantm/auto-update/python2.7-stripe

    python27Packages.stripe: 2.47.0 -> 2.48.0
    marsam authored May 24, 2020
    Copy the full SHA
    c034e19 View commit details
Showing with 728 additions and 89 deletions.
  1. +28 −0 maintainers/maintainer-list.nix
  2. +1 −0 nixos/modules/module-list.nix
  3. +7 −0 nixos/modules/services/networking/networkmanager.nix
  4. +186 −0 nixos/modules/services/web-apps/engelsystem.nix
  5. +17 −0 nixos/modules/services/x11/desktop-managers/cde.nix
  6. +1 −0 nixos/tests/all-tests.nix
  7. +41 −0 nixos/tests/engelsystem.nix
  8. +3 −2 pkgs/applications/misc/cheat/default.nix
  9. +2 −2 pkgs/applications/misc/clight/clightd.nix
  10. +30 −0 pkgs/applications/misc/systembus-notify/default.nix
  11. +2 −2 pkgs/applications/networking/instant-messengers/ripcord/default.nix
  12. +3 −3 pkgs/applications/networking/lieer/default.nix
  13. +2 −2 pkgs/applications/science/misc/snakemake/default.nix
  14. +2 −0 pkgs/applications/version-management/git-and-tools/default.nix
  15. +33 −0 pkgs/applications/version-management/git-and-tools/gitin/default.nix
  16. +121 −0 pkgs/applications/version-management/git-and-tools/gitin/deps.nix
  17. +1 −10 pkgs/applications/version-management/gitlab/gitaly/default.nix
  18. +7 −5 pkgs/applications/virtualization/qboot/default.nix
  19. +4 −3 pkgs/build-support/docker/store-path-to-layer.sh
  20. +47 −0 pkgs/data/fonts/tamzen/default.nix
  21. +11 −5 pkgs/development/libraries/sqlcipher/default.nix
  22. +2 −2 pkgs/development/python-modules/Wand/default.nix
  23. +2 −2 pkgs/development/python-modules/codespell/default.nix
  24. +2 −2 pkgs/development/python-modules/mpv/default.nix
  25. +2 −2 pkgs/development/python-modules/nuitka/default.nix
  26. +4 −3 pkgs/development/python-modules/parsel/default.nix
  27. +2 −2 pkgs/development/python-modules/pdf2image/default.nix
  28. +2 −2 pkgs/development/python-modules/pyftdi/default.nix
  29. +2 −2 pkgs/development/python-modules/stripe/default.nix
  30. +2 −2 pkgs/development/python-modules/unidiff/default.nix
  31. +3 −3 pkgs/development/tools/cloudflare-wrangler/default.nix
  32. +2 −2 pkgs/development/tools/misc/circleci-cli/default.nix
  33. +2 −2 pkgs/development/tools/misc/uncrustify/default.nix
  34. +4 −3 pkgs/development/tools/omnisharp-roslyn/default.nix
  35. +2 −2 pkgs/development/tools/spring-boot-cli/default.nix
  36. +18 −2 pkgs/games/katago/default.nix
  37. +52 −0 pkgs/servers/web-apps/engelsystem/default.nix
  38. +2 −2 pkgs/tools/networking/amass/default.nix
  39. +13 −15 pkgs/tools/security/yara/default.nix
  40. +38 −0 pkgs/tools/system/disk-filltest/default.nix
  41. +2 −2 pkgs/tools/system/stress-ng/default.nix
  42. +3 −3 pkgs/tools/text/mdcat/default.nix
  43. +18 −0 pkgs/top-level/all-packages.nix
28 changes: 28 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1175,6 +1175,12 @@
githubId = 510553;
name = "Jos van Bakel";
};
caadar = {
email = "v88m@posteo.net";
github = "caadar";
githubId = 15320726;
name = "Car Cdr";
};
cab404 = {
email = "cab404@mailbox.org";
github = "cab404";
@@ -4009,6 +4015,12 @@
githubId = 59667;
name = "Ahmed Kamal";
};
kimat = {
email = "mail@kimat.org";
github = "kimat";
githubId = 3081769;
name = "Kimat Boven";
};
kimburgess = {
email = "kim@acaprojects.com";
github = "kimburgess";
@@ -4059,6 +4071,16 @@
github = "klntsky";
githubId = 18447310;
};
kloenk = {
email = "me@kloenk.de";
name = "Finn Behrens";
github = "kloenk";
githubId = 12898828;
keys = [{
longkeyid = "ed25519/0xB92445CFC9546F9D";
fingerprint = "6881 5A95 D715 D429 659B 48A4 B924 45CF C954 6F9D";
}];
};
kmcopper = {
email = "kmcopper@danwin1210.me";
name = "Kyle Copperfield";
@@ -8331,6 +8353,12 @@
githubId = 6016963;
name = "Patrick Winter";
};
wishfort36 = {
email = "42300264+wishfort36@users.noreply.github.com";
github = "wishfort36";
githubId = 42300264;
name = "wishfort36";
};
wizeman = {
email = "rcorreia@wizy.org";
github = "wizeman";
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -830,6 +830,7 @@
./services/web-apps/cryptpad.nix
./services/web-apps/documize.nix
./services/web-apps/dokuwiki.nix
./services/web-apps/engelsystem.nix
./services/web-apps/frab.nix
./services/web-apps/gerrit.nix
./services/web-apps/gotify-server.nix
7 changes: 7 additions & 0 deletions nixos/modules/services/networking/networkmanager.nix
Original file line number Diff line number Diff line change
@@ -449,6 +449,13 @@ in {

systemd.services.ModemManager.aliases = [ "dbus-org.freedesktop.ModemManager1.service" ];

# override unit as recommended by upstream - see https://github.com/NixOS/nixpkgs/issues/88089
# TODO: keep an eye on modem-manager releases as this will eventually be added to the upstream unit
systemd.services.ModemManager.serviceConfig.ExecStart = [
""
"${pkgs.modemmanager}/sbin/ModemManager --filter-policy=STRICT"
];

systemd.services.NetworkManager-dispatcher = {
wantedBy = [ "network.target" ];
restartTriggers = [ configFile ];
186 changes: 186 additions & 0 deletions nixos/modules/services/web-apps/engelsystem.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{ config, lib, pkgs, utils, ... }:

let
inherit (lib) mkDefault mkEnableOption mkIf mkOption types literalExample;
cfg = config.services.engelsystem;
in {
options = {
services.engelsystem = {
enable = mkOption {
default = false;
example = true;
description = ''
Whether to enable engelsystem, an online tool for coordinating helpers
and shifts on large events.
'';
type = lib.types.bool;
};

domain = mkOption {
type = types.str;
example = "engelsystem.example.com";
description = "Domain to serve on.";
};

package = mkOption {
type = types.package;
example = literalExample "pkgs.engelsystem";
description = "Engelsystem package used for the service.";
default = pkgs.engelsystem;
};

createDatabase = mkOption {
type = types.bool;
default = true;
description = ''
Whether to create a local database automatically.
This will override every database setting in <option>services.engelsystem.config</option>.
'';
};
};

services.engelsystem.config = mkOption {
type = types.attrs;
default = {
database = {
host = "localhost";
database = "engelsystem";
username = "engelsystem";
};
};
example = {
maintenance = false;
database = {
host = "database.example.com";
database = "engelsystem";
username = "engelsystem";
password._secret = "/var/keys/engelsystem/database";
};
email = {
driver = "smtp";
host = "smtp.example.com";
port = 587;
from.address = "engelsystem@example.com";
from.name = "example engelsystem";
encryption = "tls";
username = "engelsystem@example.com";
password._secret = "/var/keys/engelsystem/mail";
};
autoarrive = true;
min_password_length = 6;
default_locale = "de_DE";
};
description = ''
Options to be added to config.php, as a nix attribute set. Options containing secret data
should be set to an attribute set containing the attribute _secret - a string pointing to a
file containing the value the option should be set to. See the example to get a better
picture of this: in the resulting config.php file, the email.password key will be set to
the contents of the /var/keys/engelsystem/mail file.
See https://engelsystem.de/doc/admin/configuration/ for available options.
Note that the admin user login credentials cannot be set here - they always default to
admin:asdfasdf. Log in and change them immediately.
'';
};
};

config = mkIf cfg.enable {
# create database
services.mysql = mkIf cfg.createDatabase {
enable = true;
package = mkDefault pkgs.mysql;
ensureUsers = [{
name = "engelsystem";
ensurePermissions = { "engelsystem.*" = "ALL PRIVILEGES"; };
}];
ensureDatabases = [ "engelsystem" ];
};

environment.etc."engelsystem/config.php".source =
pkgs.writeText "config.php" ''
<?php
return json_decode(file_get_contents("/var/lib/engelsystem/config.json"), true);
'';

services.phpfpm.pools.engelsystem = {
user = "engelsystem";
settings = {
"listen.owner" = config.services.nginx.user;
"pm" = "dynamic";
"pm.max_children" = 32;
"pm.max_requests" = 500;
"pm.start_servers" = 2;
"pm.min_spare_servers" = 2;
"pm.max_spare_servers" = 5;
"php_admin_value[error_log]" = "stderr";
"php_admin_flag[log_errors]" = true;
"catch_workers_output" = true;
};
};

services.nginx = {
enable = true;
virtualHosts."${cfg.domain}".locations = {
"/" = {
root = "${cfg.package}/share/engelsystem/public";
extraConfig = ''
index index.php;
try_files $uri $uri/ /index.php?$args;
autoindex off;
'';
};
"~ \\.php$" = {
root = "${cfg.package}/share/engelsystem/public";
extraConfig = ''
fastcgi_pass unix:${config.services.phpfpm.pools.engelsystem.socket};
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include ${config.services.nginx.package}/conf/fastcgi_params;
include ${config.services.nginx.package}/conf/fastcgi.conf;
'';
};
};
};

systemd.services."engelsystem-init" = {
wantedBy = [ "multi-user.target" ];
serviceConfig = { Type = "oneshot"; };
script =
let
genConfigScript = pkgs.writeScript "engelsystem-gen-config.sh"
(utils.genJqSecretsReplacementSnippet cfg.config "config.json");
in ''
umask 077
mkdir -p /var/lib/engelsystem/storage/app
mkdir -p /var/lib/engelsystem/storage/cache/views
cd /var/lib/engelsystem
${genConfigScript}
chmod 400 config.json
chown -R engelsystem .
'';
};
systemd.services."engelsystem-migrate" = {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "oneshot";
User = "engelsystem";
Group = "engelsystem";
};
script = ''
${cfg.package}/bin/migrate
'';
after = [ "engelsystem-init.service" "mysql.service" ];
};
systemd.services."phpfpm-engelsystem".after =
[ "engelsystem-migrate.service" ];

users.users.engelsystem = {
isSystemUser = true;
createHome = true;
home = "/var/lib/engelsystem/storage";
group = "engelsystem";
};
users.groups.engelsystem = { };
};
}
17 changes: 17 additions & 0 deletions nixos/modules/services/x11/desktop-managers/cde.nix
Original file line number Diff line number Diff line change
@@ -8,9 +8,26 @@ let
in {
options.services.xserver.desktopManager.cde = {
enable = mkEnableOption "Common Desktop Environment";

extraPackages = mkOption {
type = with types; listOf package;
default = with pkgs.xorg; [
xclock bitmap xlsfonts xfd xrefresh xload xwininfo xdpyinfo xwd xwud
];
example = literalExample ''
with pkgs.xorg; [
xclock bitmap xlsfonts xfd xrefresh xload xwininfo xdpyinfo xwd xwud
]
'';
description = ''
Extra packages to be installed system wide.
'';
};
};

config = mkIf (xcfg.enable && cfg.enable) {
environment.systemPackages = cfg.extraPackages;

services.rpcbind.enable = true;

services.xinetd.enable = true;
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -87,6 +87,7 @@ in
ecryptfs = handleTest ./ecryptfs.nix {};
ejabberd = handleTest ./xmpp/ejabberd.nix {};
elk = handleTestOn ["x86_64-linux"] ./elk.nix {};
engelsystem = handleTest ./engelsystem.nix {};
enlightenment = handleTest ./enlightenment.nix {};
env = handleTest ./env.nix {};
etcd = handleTestOn ["x86_64-linux"] ./etcd.nix {};
41 changes: 41 additions & 0 deletions nixos/tests/engelsystem.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }:
{
name = "engelsystem";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ talyz ];
};

nodes.engelsystem =
{ ... }:
{
services.engelsystem = {
enable = true;
domain = "engelsystem";
createDatabase = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
environment.systemPackages = with pkgs; [
xmlstarlet
libxml2
];
};

testScript = ''
engelsystem.start()
engelsystem.wait_for_unit("phpfpm-engelsystem.service")
engelsystem.wait_until_succeeds("curl engelsystem/login -sS -f")
engelsystem.succeed(
"curl engelsystem/login -sS -f -c cookie | xmllint -html -xmlout - >login"
)
engelsystem.succeed(
"xml sel -T -t -m \"html/head/meta[@name='csrf-token']\" -v @content login >token"
)
engelsystem.succeed(
"curl engelsystem/login -sS -f -b cookie -F 'login=admin' -F 'password=asdfasdf' -F '_token=<token' -L | xmllint -html -xmlout - >news"
)
engelsystem.succeed(
"test 'News - Engelsystem' = \"$(xml sel -T -t -c html/head/title news)\""
)
'';
})
5 changes: 3 additions & 2 deletions pkgs/applications/misc/cheat/default.nix
Original file line number Diff line number Diff line change
@@ -3,20 +3,21 @@

buildGoModule rec {
pname = "cheat";
version = "3.10.0";
version = "3.10.1";

src = fetchFromGitHub {
owner = "cheat";
repo = "cheat";
rev = version;
sha256 = "1rrhll1i5ibxdchpdifajvsm697pilf82rbq7arn4f4pw5izrhy6";
sha256 = "0indvycj972wng979mvia8mrb7bwdfay7wxq3lnj05qyxqafj5h2";
};

subPackages = [ "cmd/cheat" ];

nativeBuildInputs = [ installShellFiles ];

postInstall = ''
installManPage doc/cheat.1
installShellCompletion scripts/cheat.{bash,fish,zsh}
'';

4 changes: 2 additions & 2 deletions pkgs/applications/misc/clight/clightd.nix
Original file line number Diff line number Diff line change
@@ -9,13 +9,13 @@

stdenv.mkDerivation rec {
pname = "clightd";
version = "4.0";
version = "4.1";

src = fetchFromGitHub {
owner = "FedeDP";
repo = "Clightd";
rev = version;
sha256 = "0cskxy3xsy187in5vg8xcs3kwcx2s160qv009v0ahkcalp29ghz4";
sha256 = "0pqnn52nn22k49f5cw4jcr8vcbff28n56i8fizg1mmfshy8pn891";
};

# dbus-1.pc has datadir=/etc
Loading