add nginx to starlight, temporary package fixes
This commit is contained in:
parent
b956be6699
commit
5aada82172
|
@ -102,13 +102,7 @@
|
||||||
];
|
];
|
||||||
printing = {
|
printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
drivers = [ (pkgs.brlaser.overrideAttrs (old: {
|
drivers = [ pkgs.brlaser ];
|
||||||
patches = [ (pkgs.fetchpatch {
|
|
||||||
name = "l2300d-fix.patch";
|
|
||||||
url = "https://patch-diff.githubusercontent.com/raw/pdewacht/brlaser/pull/68.patch";
|
|
||||||
sha256 = "07iqv048q0iplghn0aamjslyixw1p5jbk004i20xnl1vs95nyqzy";
|
|
||||||
}) ];
|
|
||||||
})) ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
|
|
@ -3,6 +3,13 @@
|
||||||
let
|
let
|
||||||
llvm = pkgs.llvmPackages_10;
|
llvm = pkgs.llvmPackages_10;
|
||||||
go = pkgs.go_1_15;
|
go = pkgs.go_1_15;
|
||||||
|
wofi = pkgs.wofi.overrideAttrs ( old: {
|
||||||
|
src = pkgs.fetchhg {
|
||||||
|
url = old.src.url;
|
||||||
|
rev = "e3db9b8075e71399bba14a568c59032f47981dab";
|
||||||
|
sha256 = "07fr1yfls94gxpwv3azgzxm7shjs4g5ribvqrh88flpf4cv5hq2d";
|
||||||
|
};
|
||||||
|
} );
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = (with pkgs; [
|
environment.systemPackages = (with pkgs; [
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./boot-config.nix
|
./boot-config.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./nginx.nix
|
||||||
../../services/ssh.nix
|
../../services/ssh.nix
|
||||||
../../sets/fpga.nix
|
../../sets/fpga.nix
|
||||||
../../private/starlight.nix
|
../../private/starlight.nix
|
||||||
|
|
18
system/starlight/nginx.nix
Normal file
18
system/starlight/nginx.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
security.acme = {
|
||||||
|
acceptTerms = true;
|
||||||
|
email = "me@artem.ist";
|
||||||
|
};
|
||||||
|
services.nginx = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.nginxMainline;
|
||||||
|
virtualHosts."starlight.manehattan.artem.ist" = {
|
||||||
|
default = true;
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
root = "/srv/nginx/starlight.manehattan.artem.ist";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue