From af43f293ec35230a2e97a710056ea4a49b5fab90 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 7 Oct 2023 21:50:22 +0900 Subject: [PATCH] Test --- nixos/hosts/nixos-rpi4-03/default.nix | 6 ++++++ nixos/hosts/nixos-rpi4-03/temp.nix | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 nixos/hosts/nixos-rpi4-03/temp.nix diff --git a/nixos/hosts/nixos-rpi4-03/default.nix b/nixos/hosts/nixos-rpi4-03/default.nix index 07d71b43..de863b46 100644 --- a/nixos/hosts/nixos-rpi4-03/default.nix +++ b/nixos/hosts/nixos-rpi4-03/default.nix @@ -4,10 +4,16 @@ { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") + ./temp.nix ]; # Enable distributed Builds nix.distributedBuilds = true; + + # Enablet docker and docker-compose + environment.systemPackages = [ pkgs.docker-compose ]; + virtualisation.docker.enable = true; + ##################################################################################### # BEGIN hardware config ##################################################################################### diff --git a/nixos/hosts/nixos-rpi4-03/temp.nix b/nixos/hosts/nixos-rpi4-03/temp.nix new file mode 100644 index 00000000..1d661a8f --- /dev/null +++ b/nixos/hosts/nixos-rpi4-03/temp.nix @@ -0,0 +1,7 @@ +{pkgs, lib, config, ...}: { + networking.firewall.allowedTCPPorts = [ 80 ]; + + services.nginx = { + enable = true; + }; +}; \ No newline at end of file