fix deployment warnings
This commit is contained in:
parent
f190a7d6ff
commit
01b22a20a1
9 changed files with 28 additions and 7 deletions
|
@ -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";
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -595,6 +595,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
home-manager.users.mailUser.home.stateVersion = "22.11";
|
||||
|
||||
# configure mbsync
|
||||
home-manager.users.mailUser.programs.mbsync.enable = true;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
# fsType = "ext4";
|
||||
#};
|
||||
|
||||
nix.setting.max-jobs = lib.mkDefault 4;
|
||||
nix.settings.max-jobs = lib.mkDefault 4;
|
||||
|
||||
# lvm volume group
|
||||
# ----------------
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
system.custom.fonts.dpi = 100;
|
||||
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
#docker.enable = true;
|
||||
podman.enable = true;
|
||||
|
||||
virtualbox = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,5 +21,6 @@
|
|||
services.locate.locate = pkgs.mlocate;
|
||||
services.locate.localuser = null;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue