From 13432db4ea3860f961986a865fc33ae95738c887 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 17 Sep 2023 10:02:09 +0900 Subject: [PATCH] test --- flake.nix | 2 +- nixos/hosts/nixos-rpi4-img/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index b9ba70ef..955f52e6 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,7 @@ in { nixosConfigurations = { # Generic Images / ISOs - nixos-rpi4-img = libx.mkHost { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; installer = nixpkgs + "/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix"; stateVersion = "23.05"; }; + nixos-rpi4-img = libx.mkHost { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; installer = nixpkgs + "/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix"; }; # Host Specific Configs nixos-laptop = libx.mkHost { hostname = "nixos-laptop"; desktop = "hyprland"; gpu = "intel"; theme = "gruvbox"; }; nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "gruvbox"; }; diff --git a/nixos/hosts/nixos-rpi4-img/default.nix b/nixos/hosts/nixos-rpi4-img/default.nix index c9d5ed7b..c81f7b67 100644 --- a/nixos/hosts/nixos-rpi4-img/default.nix +++ b/nixos/hosts/nixos-rpi4-img/default.nix @@ -3,10 +3,10 @@ # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { modules = [ - + ]; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; - system.stateVersion = lib.mkDefault "23.05"; + # system.stateVersion = lib.mkDefault "23.05"; networking.hostName = "nixos-rpi4-img"; networking.firewall.allowedTCPPorts = [ 22 ]; } \ No newline at end of file