fix deployment warnings

This commit is contained in:
Ingolf Wagner 2023-01-07 21:11:25 +01:00
parent f190a7d6ff
commit 01b22a20a1
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
9 changed files with 28 additions and 7 deletions

View file

@ -61,5 +61,10 @@
services.printing.enable = false;
services.smartd.enable = true;
# todo move to some place else
home-manager.users.mailUser.home.stateVersion = "22.11";
}

View file

@ -10,14 +10,14 @@ in
forceSSL = true;
serverName = domain;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.hedgedoc.configuration.port}";
proxyPass = "http://localhost:${toString config.services.hedgedoc.settings.port}";
proxyWebsockets = true;
};
};
services.hedgedoc = {
enable = true;
configuration = {
settings = {
db = {
dialect = "sqlite";
storage = "/var/lib/hedgedoc/db.sqlite";

View file

@ -18,11 +18,13 @@
services.gitea = {
enable = true;
appName = "git.ingolf-wagner.de";
cookieSecure = true;
disableRegistration = true;
#cookieSecure = true;
#disableRegistration = true;
domain = "git.ingolf-wagner.de";
rootUrl = "https://git.ingolf-wagner.de/";
settings = {
service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true;
other = {
SHOW_FOOTER_VERSION = false;
};

View file

@ -595,6 +595,8 @@ in
};
};
home-manager.users.mailUser.home.stateVersion = "22.11";
# configure mbsync
home-manager.users.mailUser.programs.mbsync.enable = true;

View file

@ -247,9 +247,10 @@ in
# nextcloud setup
services.nextcloud = {
enable = true;
package = pkgs.nextcloud24;
package = pkgs.nextcloud25;
autoUpdateApps.enable = true;
#nginx.enable = true;
enableBrokenCiphersForSSE = false; # see https://github.com/NixOS/nixpkgs/pull/198470
hostName = "nextcloud.ingolf-wagner.de";
logLevel = 2;
https = true;

View file

@ -37,7 +37,7 @@
# fsType = "ext4";
#};
nix.setting.max-jobs = lib.mkDefault 4;
nix.settings.max-jobs = lib.mkDefault 4;
# lvm volume group
# ----------------

View file

@ -53,7 +53,7 @@
system.custom.fonts.dpi = 100;
virtualisation = {
docker.enable = true;
#docker.enable = true;
podman.enable = true;
virtualbox = {

View file

@ -57,6 +57,7 @@ in
config = mkIf cfg.enable {
users = {
mutableUsers = true;
@ -71,7 +72,16 @@ in
extraGroups = [ "wheel" "networkmanager" "transmission" "wireshark" ]
++ dockerGroup ++ vboxGroup ++ cfg.extraGroups;
openssh.authorizedKeys.keyFiles = cfg.authorizedKeyFiles;
group = config.users.groups.mainUser.name;
};
groups.mainUser = {
name = cfg.userName;
};
};
};
}

View file

@ -21,5 +21,6 @@
services.locate.locate = pkgs.mlocate;
services.locate.localuser = null;
}