More individualizing. Pretty cool
This commit is contained in:
parent
384e510647
commit
572eca5ea5
28 changed files with 57 additions and 84 deletions
|
@ -22,7 +22,5 @@
|
|||
80
|
||||
443
|
||||
];
|
||||
|
||||
environment.persistence."/persist".directories = [ "/var/www" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
{
|
||||
config = lib.mkIf config.services.webserver.enable {
|
||||
services.nginx = {
|
||||
package = (pkgs.nginx.override {
|
||||
package = pkgs.nginx.override {
|
||||
modules = with pkgs.nginxModules; [ rtmp ];
|
||||
});
|
||||
};
|
||||
appendConfig = ''
|
||||
rtmp {
|
||||
server {
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./files
|
||||
./nixfox
|
||||
];
|
||||
|
||||
environment.persistence."/persist".directories = lib.mkIf config.services.webserver.enable [ "/var/www" ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue