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.printing.enable = false;
|
||||||
services.smartd.enable = true;
|
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;
|
forceSSL = true;
|
||||||
serverName = domain;
|
serverName = domain;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:${toString config.services.hedgedoc.configuration.port}";
|
proxyPass = "http://localhost:${toString config.services.hedgedoc.settings.port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hedgedoc = {
|
services.hedgedoc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configuration = {
|
settings = {
|
||||||
db = {
|
db = {
|
||||||
dialect = "sqlite";
|
dialect = "sqlite";
|
||||||
storage = "/var/lib/hedgedoc/db.sqlite";
|
storage = "/var/lib/hedgedoc/db.sqlite";
|
||||||
|
|
|
@ -18,11 +18,13 @@
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
appName = "git.ingolf-wagner.de";
|
appName = "git.ingolf-wagner.de";
|
||||||
cookieSecure = true;
|
#cookieSecure = true;
|
||||||
disableRegistration = true;
|
#disableRegistration = true;
|
||||||
domain = "git.ingolf-wagner.de";
|
domain = "git.ingolf-wagner.de";
|
||||||
rootUrl = "https://git.ingolf-wagner.de/";
|
rootUrl = "https://git.ingolf-wagner.de/";
|
||||||
settings = {
|
settings = {
|
||||||
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
session.COOKIE_SECURE = true;
|
||||||
other = {
|
other = {
|
||||||
SHOW_FOOTER_VERSION = false;
|
SHOW_FOOTER_VERSION = false;
|
||||||
};
|
};
|
||||||
|
|
|
@ -595,6 +595,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.mailUser.home.stateVersion = "22.11";
|
||||||
|
|
||||||
# configure mbsync
|
# configure mbsync
|
||||||
home-manager.users.mailUser.programs.mbsync.enable = true;
|
home-manager.users.mailUser.programs.mbsync.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -247,9 +247,10 @@ in
|
||||||
# nextcloud setup
|
# nextcloud setup
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud24;
|
package = pkgs.nextcloud25;
|
||||||
autoUpdateApps.enable = true;
|
autoUpdateApps.enable = true;
|
||||||
#nginx.enable = true;
|
#nginx.enable = true;
|
||||||
|
enableBrokenCiphersForSSE = false; # see https://github.com/NixOS/nixpkgs/pull/198470
|
||||||
hostName = "nextcloud.ingolf-wagner.de";
|
hostName = "nextcloud.ingolf-wagner.de";
|
||||||
logLevel = 2;
|
logLevel = 2;
|
||||||
https = true;
|
https = true;
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
# fsType = "ext4";
|
# fsType = "ext4";
|
||||||
#};
|
#};
|
||||||
|
|
||||||
nix.setting.max-jobs = lib.mkDefault 4;
|
nix.settings.max-jobs = lib.mkDefault 4;
|
||||||
|
|
||||||
# lvm volume group
|
# lvm volume group
|
||||||
# ----------------
|
# ----------------
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
system.custom.fonts.dpi = 100;
|
system.custom.fonts.dpi = 100;
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
docker.enable = true;
|
#docker.enable = true;
|
||||||
podman.enable = true;
|
podman.enable = true;
|
||||||
|
|
||||||
virtualbox = {
|
virtualbox = {
|
||||||
|
|
|
@ -57,6 +57,7 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
|
|
||||||
mutableUsers = true;
|
mutableUsers = true;
|
||||||
|
@ -71,7 +72,16 @@ in
|
||||||
extraGroups = [ "wheel" "networkmanager" "transmission" "wireshark" ]
|
extraGroups = [ "wheel" "networkmanager" "transmission" "wireshark" ]
|
||||||
++ dockerGroup ++ vboxGroup ++ cfg.extraGroups;
|
++ dockerGroup ++ vboxGroup ++ cfg.extraGroups;
|
||||||
openssh.authorizedKeys.keyFiles = cfg.authorizedKeyFiles;
|
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.locate = pkgs.mlocate;
|
||||||
services.locate.localuser = null;
|
services.locate.localuser = null;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue