feat: bake flake version information into nixos hosts
This commit is contained in:
parent
5f346bb061
commit
cdd41a6a7a
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue