Add system.configurationRevision to configuration.nix and tidy flake.nix
This commit is contained in:
parent
c062f35d86
commit
7d42965a0a
2 changed files with 3 additions and 0 deletions
|
|
@ -112,6 +112,8 @@
|
||||||
#
|
#
|
||||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
|
|
||||||
|
|
||||||
|
system.configurationRevision = lib.mkIf (specialArgs.inputs.self ? rev) specialArgs.inputs.self.rev;
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
system.stateVersion = "25.05"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
# pass flake inputs to individual module files
|
# pass flake inputs to individual module files
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
} // args));
|
} // args));
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
packages."${system}".default =
|
packages."${system}".default =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue