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 .
|
||||
|
||||
|
||||
system.configurationRevision = lib.mkIf (specialArgs.inputs.self ? rev) specialArgs.inputs.self.rev;
|
||||
system.stateVersion = "25.05"; # Did you read the comment?
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
# pass flake inputs to individual module files
|
||||
specialArgs = { inherit inputs; };
|
||||
} // args));
|
||||
|
||||
in {
|
||||
|
||||
packages."${system}".default =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue