remove system label
This commit is contained in:
parent
aa9d5e283a
commit
a11ff1ceb8
4 changed files with 7 additions and 18 deletions
18
flake.nix
18
flake.nix
|
|
@ -53,10 +53,11 @@
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
nixpkgs-rpi,
|
nixpkgs-rpi,
|
||||||
...
|
...
|
||||||
}: {
|
}@ inputs:
|
||||||
nixosConfigurations = let
|
let
|
||||||
system-label = self.shortRev or self.dirtyShortRev or self.lastModified or "unknown";
|
inherit (self) outputs;
|
||||||
in {
|
in{
|
||||||
|
nixosConfigurations = {
|
||||||
tartarus = nixpkgs.lib.nixosSystem {
|
tartarus = nixpkgs.lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/tartarus/configuration.nix
|
./hosts/tartarus/configuration.nix
|
||||||
|
|
@ -70,9 +71,6 @@
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
specialArgs = {
|
|
||||||
inherit system-label;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
ymir = nixpkgs.lib.nixosSystem {
|
ymir = nixpkgs.lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
|
|
@ -87,9 +85,6 @@
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
specialArgs = {
|
|
||||||
inherit system-label;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
harmonica = nixpkgs.lib.nixosSystem {
|
harmonica = nixpkgs.lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
|
|
@ -118,9 +113,6 @@
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
specialArgs = {
|
|
||||||
inherit system-label;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
pochita-sd = nixpkgs-rpi.lib.nixosSystem {
|
pochita-sd = nixpkgs-rpi.lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
system-label,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
stateVersion = "25.05";
|
stateVersion = "25.05";
|
||||||
|
|
@ -59,7 +58,7 @@ in {
|
||||||
#kernel-version = "v6_10_12";
|
#kernel-version = "v6_10_12";
|
||||||
};
|
};
|
||||||
|
|
||||||
system.nixos.label = system-label;
|
# system.nixos.label = system-label;
|
||||||
# DO NOT TOUCH THIS
|
# DO NOT TOUCH THIS
|
||||||
system.stateVersion = stateVersion;
|
system.stateVersion = stateVersion;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
system-label,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
|
|
@ -75,7 +74,7 @@ in {
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
system.nixos.label = system-label;
|
# system.nixos.label = system-label;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
system-label,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
stateVersion = "25.05";
|
stateVersion = "25.05";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue