remove system label

This commit is contained in:
Osman Faruk Bayram 2025-02-04 19:23:25 +03:00
parent aa9d5e283a
commit a11ff1ceb8
4 changed files with 7 additions and 18 deletions

View file

@ -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 = [

View file

@ -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;
}

View file

@ -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

View file

@ -4,7 +4,6 @@
{
config,
pkgs,
system-label,
...
}: let
stateVersion = "25.05";