diff --git a/nix/sources.json b/nix/sources.json index 8d192ec..04476be 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -70,7 +70,7 @@ "url_template": "/-/archive/.tar.gz" }, "nixpkgs": { - "branch": "nixos-21.05", + "branch": "nixos-21.11", "description": "Nix Packages collection", "homepage": "", "owner": "nixos", @@ -81,28 +81,16 @@ "url": "https://github.com/nixos/nixpkgs/archive/7bca80140fc7732c7357b26002db3d87b3ba4c61.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, - "nixpkgs-new": { - "branch": "nixos-21.11", - "description": "Nix Packages collection", - "homepage": "", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "8588b14a397e045692d0a87192810b6dddf53003", - "sha256": "15srsgbhgn27wa4kz4x0gfqbsdnwig0h0y8gj2h4nnw92nrxpvnm", - "type": "tarball", - "url": "https://github.com/nixos/nixpkgs/archive/8588b14a397e045692d0a87192810b6dddf53003.tar.gz", - "url_template": "https://github.com///archive/.tar.gz" - }, "nixpkgs-unstable": { "branch": "nixos-unstable", "description": "Nix Packages collection", "homepage": "", "owner": "nixos", "repo": "nixpkgs", - "rev": "ac169ec6371f0d835542db654a65e0f2feb07838", - "sha256": "0bwjyz15sr5f7z0niwls9127hikp2b6fggisysk0cnk3l6fa8abh", + "rev": "5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3", + "sha256": "0yb7l5p4k9q8avwiq0fgp87ij50d6yavgh4dfw14jh2lf8daqbmp", "type": "tarball", - "url": "https://github.com/nixos/nixpkgs/archive/ac169ec6371f0d835542db654a65e0f2feb07838.tar.gz", + "url": "https://github.com/nixos/nixpkgs/archive/5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "workadventure": { diff --git a/pkgs/mattermost/default.nix b/pkgs/mattermost/default.nix index 870d9fe..8db6934 100644 --- a/pkgs/mattermost/default.nix +++ b/pkgs/mattermost/default.nix @@ -12,10 +12,9 @@ let goPackagePath = "github.com/mattermost/mattermost-server"; - buildFlagsArray = '' - -ldflags= - -X ${goPackagePath}/model.BuildNumber=nixpkgs-${version} - ''; + ldflags = [ + "-X ${goPackagePath}/model.BuildNumber=nixpkgs-${version}" + ]; }; diff --git a/services/gitlab-runner.nix b/services/gitlab-runner.nix index 6968d1c..6a467d6 100644 --- a/services/gitlab-runner.nix +++ b/services/gitlab-runner.nix @@ -57,6 +57,7 @@ home = "/persist/var/lib/gitlab-runner"; extraGroups = [ "docker" ]; isSystemUser = true; + group = "nogroup"; }; virtualisation.docker.storageDriver = "zfs"; diff --git a/services/mail.nix b/services/mail.nix index a02ed7a..bdb754b 100644 --- a/services/mail.nix +++ b/services/mail.nix @@ -124,8 +124,8 @@ # 1 Gb RAM for the server. Without virus scanning 256 MB RAM should be plenty) virusScanning = false; }; - services.postfix.submissionOptions.smtpd_sender_restrictions = "reject_non_fqdn_sender,reject_unknown_sender_domain,permit"; - services.postfix.submissionsOptions.smtpd_sender_restrictions = "reject_non_fqdn_sender,reject_unknown_sender_domain,permit"; + services.postfix.submissionOptions.smtpd_sender_restrictions = lib.mkForce "reject_non_fqdn_sender,reject_unknown_sender_domain,permit"; + services.postfix.submissionsOptions.smtpd_sender_restrictions = lib.mkForce "reject_non_fqdn_sender,reject_unknown_sender_domain,permit"; services.postfix.virtual = '' @4future.dev @hacc.space @4futu.re @hacc.space diff --git a/services/syncthing.nix b/services/syncthing.nix index 049af5c..9b05ace 100644 --- a/services/syncthing.nix +++ b/services/syncthing.nix @@ -34,8 +34,6 @@ }; }; }; - }; - }; }