Need to put config in `nixos`
This commit is contained in:
parent
b17fbcd75e
commit
735dfab194
|
@ -74,7 +74,6 @@ in {
|
|||
project.name = "mastodon";
|
||||
services = {
|
||||
mastodon = { pkgs, ... }: {
|
||||
useSystemd = true;
|
||||
service = {
|
||||
restart = "always";
|
||||
volumes = [
|
||||
|
@ -83,6 +82,8 @@ in {
|
|||
"mastodon-data:/var/lib/mastodon"
|
||||
];
|
||||
};
|
||||
nixos = {
|
||||
useSystemd = true;
|
||||
configuration = {
|
||||
boot.tmp.useTmpfs = true;
|
||||
system.nssModules = mkForce [ ];
|
||||
|
@ -110,6 +111,7 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
in { imports = [ image ]; };
|
||||
|
||||
services.nginx = {
|
||||
|
|
Loading…
Reference in New Issue