flake.nix: Remove redundant module lambda

This commit is contained in:
Robert Hensing 2021-12-17 14:44:38 +01:00
parent 439d7d493d
commit a2710255c9

View File

@ -41,11 +41,11 @@
in
map addModuleDeclarationFile modules ++ [
({ config, ... }: {
{
system.nixos.versionSuffix =
".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}";
system.nixos.revision = final.mkIf (self ? rev) self.rev;
})
}
];
});
});