Compare commits

..

No commits in common. "f5efe91d93ce1464c2921e40af8c5e7a892a20ab" and "151469500c6c156fd078b4343fe10acc9a16135d" have entirely different histories.

5 changed files with 5 additions and 13 deletions

View file

@ -26,7 +26,7 @@
users.extraUsers = {
claire = {
isNormalUser = true;
hashedPassword = "$6$ZyXB0fvcTbScnrM$6YQSr18QlGyjxPwaVrKkJxUShNoX0DjsmhlVnoVZwlELP7r9gSoGskfM4qBF3GSUdtfQOn5TOHIls5QVUmVAW0";
hashedPassword = "$6$Mu47EjsbNTewDkRp$XeQh6rcdvb3BUXzsGqekKImLTrMgnN0VyERoSbpI4rMPlx8oHM9NNeHZtfIiLEaZGtQ9otnbLa54jYse5Iwev1";
description = "Claire TREHIOU";
};

View file

@ -133,8 +133,8 @@ in
) cfg.services;
webroot = "/var/www/challenges";
email = "paul@nyanlout.re";
allowKeysForGroup = true;
group = "acme";
user = "haproxy";
group = "haproxy";
postRun = ''
systemctl reload haproxy.service
'';
@ -142,8 +142,6 @@ in
};
security.acme.directory = "/var/lib/acme";
users.groups.acme.members = [ "haproxy" ];
networking.firewall.allowedTCPPorts = [
80 443
];

View file

@ -5,7 +5,7 @@
{ config, pkgs, ... }:
let
gitRev = "0ecd242437a00f0ad39d8adb19bfb0ccba5af760";
gitRev = "d9634b4788a69eba897a5efb826f313942a860e2";
nixpkgs = fetchTarball "https://github.com/nyanloutre/nixpkgs/archive/${gitRev}.tar.gz";
in
{
@ -32,9 +32,6 @@ in
"nixos-config=/etc/nixos/configuration.nix"
];
nixpkgs.config.allowUnfree = false;
nixpkgs.config.allowUnfreePredicate = (pkg: builtins.elem (builtins.parseDrvName pkg.name).name [ "factorio-headless" "perl5.28.1-slimserver" ]);
services.zfs = {
autoSnapshot.enable = true;
autoScrub.enable = true;

View file

@ -254,8 +254,6 @@ in
database_args = {
database = "matrix-synapse";
};
tls_private_key_path = "/var/lib/acme/${domaine}/key.pem";
tls_certificate_path = "/var/lib/acme/${domaine}/fullchain.pem";
extraConfig = ''
max_upload_size: "100M"
'';
@ -413,8 +411,6 @@ in
};
};
users.groups.acme.members = [ "matrix-synapse" ];
security.sudo.extraRules = [
{ commands = [ { command = "${pkgs.smartmontools}/bin/smartctl"; options = [ "NOPASSWD" ]; } ]; users = [ "telegraf" ]; }
];

View file

@ -9,6 +9,7 @@
(import ../overlays/neovim.nix)
];
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
# Editeurs
neovim