From f48a9c0f8f5ea1a63154414f0f96ff6eee8996f9 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 19 Sep 2023 20:37:21 +0900 Subject: [PATCH] test --- flake.nix | 2 ++ nixos/hosts/nixos-rpi4-01/default.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 96263d73..b55d9022 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,7 @@ nixos-rpi4-02 = libx.mkHost { hostname = "nixos-rpi4-02"; platform = "aarch64-linux"; }; nixos-rpi4-03 = libx.mkHost { hostname = "nixos-rpi4-03"; platform = "aarch64-linux"; }; }; + homeConfigurations = { # Virtual Machines "albert@nixos-vm-01" = libx.mkHome { hostname = "nixos-vm-01"; }; @@ -42,6 +43,7 @@ imageConfigurations = { nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; format = "sd-aarch64"; }; }; + # Devshell for bootstrapping; acessible via 'nix develop' or 'nix-shell' (legacy) devShells = libx.forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; diff --git a/nixos/hosts/nixos-rpi4-01/default.nix b/nixos/hosts/nixos-rpi4-01/default.nix index 18809091..dd87f879 100644 --- a/nixos/hosts/nixos-rpi4-01/default.nix +++ b/nixos/hosts/nixos-rpi4-01/default.nix @@ -49,5 +49,5 @@ boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; # Temporary - networking.firewall.allowedTCPPorts = [ 22 ]; + # networking.firewall.allowedTCPPorts = [ 22 ]; } \ No newline at end of file