update to NixOS 22.11

This commit is contained in:
Michele Guerini Rocco 2023-02-25 01:24:08 +01:00
parent bd11bdbe70
commit a4e7144fb2
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
5 changed files with 82 additions and 89 deletions

View File

@ -244,10 +244,11 @@
rootUrl = "https://${hostname}/git/"; rootUrl = "https://${hostname}/git/";
user = "git"; user = "git";
database.user = "git"; database.user = "git";
log.level = "Error";
cookieSecure = true;
disableRegistration = false;
settings = { settings = {
session.COOKIE_SECURE = true;
log.LEVEL = "Error";
service.DISABLE_REGISTRATION = false;
# increase cookie expiration time # increase cookie expiration time
security.LOGIN_REMEMBER_DAYS = 365; security.LOGIN_REMEMBER_DAYS = 365;
@ -476,17 +477,15 @@
}; };
}; };
nix = { nix.settings = {
useSandbox = true;
# Can connect to the Nix daemon # Can connect to the Nix daemon
# and upload/run code as root! # and upload/run code as root!
trustedUsers = [ "builder" "rnhmjoj" ]; trusted-users = [ "builder" "rnhmjoj" ];
# Use at most half the cores # Use at most half the cores
buildCores = 8; cores = 8;
extraOptions = '' max-jobs = 16;
# Always keep at least 256MiB free # Always keep at least 256MiB free
min-free = 268435456 min-free = 268435456;
'';
}; };
environment.sessionVariables = { environment.sessionVariables = {

View File

@ -3,8 +3,8 @@
{ {
imports = [ imports = [
(builtins.fetchTarball { (builtins.fetchTarball {
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/nixos-22.05/nixos-mailserver-nixos-22.05.tar.gz"; url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/nixos-22.11/nixos-mailserver-nixos-22.11.tar.gz";
sha256 = "0csx2i8p7gbis0n5aqpm57z5f9cd8n9yabq04bg1h4mkfcf7mpl6"; sha256 = "1h1r4x2ffqwyk0ql6kjvcpg1bdiimyzhrsvn49702fsgzpx57fhd";
}) })
]; ];
@ -16,10 +16,7 @@
messageSizeLimit = 78643200; # ~50MiB of base64 binary messageSizeLimit = 78643200; # ~50MiB of base64 binary
loginAccounts = config.secrets.emailAccounts; loginAccounts = config.secrets.emailAccounts;
extraVirtualAliases = config.secrets.emailAliases;
extraVirtualAliases = {
"abuse@eurofusion.eu" = "rnhmjoj@eurofusion.eu";
};
# store state under /var # store state under /var
mailDirectory = "/var/lib/mail"; mailDirectory = "/var/lib/mail";

View File

@ -31,7 +31,6 @@
fsType = "ext4"; fsType = "ext4";
}; };
nix.maxJobs = lib.mkDefault 16;
powerManagement.cpuFreqGovernor = "ondemand"; powerManagement.cpuFreqGovernor = "ondemand";
services.apcupsd = { services.apcupsd = {

View File

@ -8,11 +8,6 @@
roomId = "!FsUSHSNMPMVTFFcvJo:maxwell.ydns.eu"; roomId = "!FsUSHSNMPMVTFFcvJo:maxwell.ydns.eu";
authToken = config.secrets.passwords.matrix; authToken = config.secrets.passwords.matrix;
}; };
haskellPackages = super.haskellPackages.extend (hself: hsuper:
{ namecoin-update = hself.callCabal2nix "namecoin-update" (builtins.fetchTarball {
url = "https://hackage.haskell.org/package/namecoin-update-0.2.3.0/namecoin-update-0.2.3.0.tar.gz";
}) {};
});
}); });
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@ -1,66 +1,69 @@
U2FsdGVkX1+YneDLW9skVyBWkk2cgJ8vvSbalpLLlCMWTLLF1eoJ2sBkOYOq6N0B U2FsdGVkX1+wTISNu30jo519DTkrNJhz59Faa3j+tO0eeE6vtEJBxgnT4CiGFmbS
30eIewctLA5rRWnLGQRhcENbFD5+DgXatiqKvyJx0CVjwcJcis+B6yKGHFx1U8QX gGp60es2CchmeqHWw1fiWCjy1dF8aZVD7jTWEF+LvpmFwagzCKrqQanzxZEIr3fr
05PoM41weLskJ2R8UjJ9hC53wt8YzHjSMA7uHNQ0xhy2Lnz82cpGiivzyeAJQfbp GGtMxfyh9ntQSyDL+7/5aB3YxKFtUHNc14fRX1WMG9TB0Qx8ZUCbulzcbrd8KvRC
H2FT4lkGULWPB49aaFdljZ2WTnkaOkOOkXjKIvlR2H0iqVnhwBOHbFE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