Embed flake git revision in NixOS configuration
Some checks failed
Check Flake / check-flake (push) Has been cancelled
Some checks failed
Check Flake / check-flake (push) Has been cancelled
This commit is contained in:
@@ -115,6 +115,8 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
|
# Query with: nixos-version --configuration-revision
|
||||||
|
system.configurationRevision = self.rev or self.dirtyRev or "unknown";
|
||||||
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user