From 6540ed0f8cb4c2d5a882209443f7f200ffff15d2 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 17 Sep 2023 09:49:53 +0900 Subject: [PATCH] update image --- flake.nix | 2 +- nixos/hosts/nixos-rpi4-img/default.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 955f52e6..b9ba70ef 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"; }; + 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"; }; # 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 ffa48bc3..c9d5ed7b 100644 --- a/nixos/hosts/nixos-rpi4-img/default.nix +++ b/nixos/hosts/nixos-rpi4-img/default.nix @@ -2,6 +2,9 @@ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { + modules = [ + + ]; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; system.stateVersion = lib.mkDefault "23.05"; networking.hostName = "nixos-rpi4-img";