nix/os/devices/srv0.home-ch.stefanjunker.de: bump nixos 21.11 -> 22.05
This commit is contained in:
parent
46ef6bd0a6
commit
dc761a5271
8 changed files with 32 additions and 22 deletions
|
@ -6,8 +6,11 @@
|
|||
|
||||
let
|
||||
passwords = import ../../variables/passwords.crypt.nix;
|
||||
in {
|
||||
in
|
||||
{
|
||||
config = { config, pkgs, lib, ... }: {
|
||||
system.stateVersion = "22.05"; # Did you read the comment?
|
||||
|
||||
imports = [
|
||||
../profiles/containers/configuration.nix
|
||||
];
|
||||
|
@ -102,7 +105,7 @@ in {
|
|||
|
||||
services.mysql = {
|
||||
enable = true;
|
||||
package = pkgs.mariadb;
|
||||
package = pkgs.mariadb_104;
|
||||
};
|
||||
|
||||
services.hedgedoc = {
|
||||
|
@ -113,7 +116,7 @@ in {
|
|||
protocolUseSSL = true;
|
||||
db = {
|
||||
dialect = "sqlite";
|
||||
storage = "/var/lib/codimd/db.codimd.sqlite";
|
||||
storage = "/var/lib/hedgedoc/db.hedgedoc.sqlite";
|
||||
};
|
||||
|
||||
allowAnonymous = false;
|
||||
|
@ -149,8 +152,8 @@ in {
|
|||
isReadOnly = false;
|
||||
};
|
||||
|
||||
"/var/lib/codimd" = {
|
||||
hostPath = "/var/lib/container-volumes/webserver/var-lib-codimd";
|
||||
"/var/lib/hedgedoc" = {
|
||||
hostPath = "/var/lib/container-volumes/webserver/var-lib-hedgedoc";
|
||||
isReadOnly = false;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue