feat: bake flake version information into nixos hosts

This commit is contained in:
Daniel Flanagan 2025-02-18 11:26:49 -06:00
parent 5f346bb061
commit cdd41a6a7a

View file

@ -84,6 +84,11 @@
}; };
config = { config = {
system.configurationRevision = lib.mkIf (self ? rev) self.rev;
environment.etc = {
"lytedev/rev".text = config.system.configurationRevision;
};
lyte.shell.enable = lib.mkDefault true; lyte.shell.enable = lib.mkDefault true;
nixpkgs = { nixpkgs = {
config.allowUnfree = lib.mkDefault true; config.allowUnfree = lib.mkDefault true;