mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-22 11:41:26 +00:00
flake: revert from self.dirtyRev to self.rev
This commit is contained in:
parent
9370d17b82
commit
11567d4db9
|
@ -22,8 +22,7 @@
|
|||
}:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
# (only "dirty", because userdata.json and others are overriden)
|
||||
cfgShortRev = builtins.substring 0 7 self.dirtyRev;
|
||||
cfgShortRev = builtins.substring 0 7 self.rev;
|
||||
nixosLabel = config:
|
||||
"${config.system.nixos.release}.${cfgShortRev}.${nixpkgs.shortRev}";
|
||||
userdata = builtins.fromJSON (builtins.readFile userdata-json);
|
||||
|
@ -44,7 +43,7 @@
|
|||
({ config, ... }: {
|
||||
system.nixos.label = nixosLabel config;
|
||||
system.nixos.version = nixosLabel config;
|
||||
system.configurationRevision = self.dirtyRev;
|
||||
system.configurationRevision = self.rev;
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue