mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
treewide: set system.nixos.revision
This commit is contained in:
parent
2a3142634e
commit
f73281da80
4 changed files with 36 additions and 3 deletions
|
|
@ -53,7 +53,14 @@ in
|
|||
|
||||
nix.package = pkgs.nix-monitored;
|
||||
|
||||
system.nixos.version = lib.substring 0 8 sources.nixpkgs.revision;
|
||||
system.nixos =
|
||||
let
|
||||
rev = lib.substring 0 8 sources.nixpkgs.revision;
|
||||
in
|
||||
{
|
||||
versionSuffix = "-git:${rev}";
|
||||
revision = rev;
|
||||
};
|
||||
}
|
||||
|
||||
./hydrogen/nixos/misc.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue