diff --git a/flake.nix b/flake.nix index facf517..48441d7 100644 --- a/flake.nix +++ b/flake.nix @@ -53,10 +53,11 @@ nixos-hardware, nixpkgs-rpi, ... - }: { - nixosConfigurations = let - system-label = self.shortRev or self.dirtyShortRev or self.lastModified or "unknown"; - in { + }@ inputs: + let + inherit (self) outputs; + in{ + nixosConfigurations = { tartarus = nixpkgs.lib.nixosSystem { modules = [ ./hosts/tartarus/configuration.nix @@ -70,9 +71,6 @@ ]; } ]; - specialArgs = { - inherit system-label; - }; }; ymir = nixpkgs.lib.nixosSystem { modules = [ @@ -87,9 +85,6 @@ ]; } ]; - specialArgs = { - inherit system-label; - }; }; harmonica = nixpkgs.lib.nixosSystem { modules = [ @@ -118,9 +113,6 @@ ]; } ]; - specialArgs = { - inherit system-label; - }; }; pochita-sd = nixpkgs-rpi.lib.nixosSystem { modules = [ diff --git a/hosts/pochita/configuration.nix b/hosts/pochita/configuration.nix index 878d0b4..2cf3c67 100644 --- a/hosts/pochita/configuration.nix +++ b/hosts/pochita/configuration.nix @@ -2,7 +2,6 @@ config, pkgs, lib, - system-label, ... }: let stateVersion = "25.05"; @@ -59,7 +58,7 @@ in { #kernel-version = "v6_10_12"; }; - system.nixos.label = system-label; + # system.nixos.label = system-label; # DO NOT TOUCH THIS system.stateVersion = stateVersion; } diff --git a/hosts/tartarus/configuration.nix b/hosts/tartarus/configuration.nix index b82884a..75a933f 100644 --- a/hosts/tartarus/configuration.nix +++ b/hosts/tartarus/configuration.nix @@ -4,7 +4,6 @@ { config, pkgs, - system-label, ... }: let stateVersion = "24.05"; @@ -75,7 +74,7 @@ in { # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false; - system.nixos.label = system-label; + # system.nixos.label = system-label; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index 97f2288..a7378aa 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -4,7 +4,6 @@ { config, pkgs, - system-label, ... }: let stateVersion = "25.05";