X-Git-Url: https://git.kernelpanic.cafe/?p=MarigoldOS%2F.git;a=blobdiff_plain;f=hosts%2Fbootdisk.nix;fp=hosts%2Fbootdisk.nix;h=393e277699e87b887d2efebda248a6e48d5582d0;hp=0000000000000000000000000000000000000000;hb=60585824ee484171224848ea21fa2ae59eedac24;hpb=67ab519bdaf4d57595dc267cf023d7b2f76d5485 diff --git a/hosts/bootdisk.nix b/hosts/bootdisk.nix new file mode 100644 index 0000000..393e277 --- /dev/null +++ b/hosts/bootdisk.nix @@ -0,0 +1,38 @@ +{ pkgs, lib, config, ... }: +{ + imports = [ + # ../networking/gitns.nix + ../networking/yggdrasil.nix + ../modules/alfis.nix + ../profiles/oh-my-zsh.nix + ../profiles/alias.nix + ../profiles/plik.nix + ../profiles/warez.nix + ../profiles/gemini.nix + # ../profiles/home-manager.nix + ../profiles/recovery.nix + ]; + networking.hostName = "nixos"; + networking.domain = "local"; + + services.nginx.virtualHosts."warez.${config.networking.fqdn}" = lib.mkForce { + enableACME = false; + forceSSL = false; + }; + + services.nginx.virtualHosts."plik.${config.networking.fqdn}" = lib.mkForce { + enableACME = false; + forceSSL = false; + }; + + # networking.tcpcrypt.enable = true; + # users.users.tcpcryptd.group = "tcpcryptd"; + # users.groups.tcpcryptd = {}; + + networking.firewall.allowedTCPPorts = [ 80 ]; + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + system.stateVersion = "21.11"; +}