diff options
author | Karel Kočí <cynerd@email.cz> | 2023-03-25 21:43:18 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-03-25 21:43:18 +0100 |
commit | fe23a05bcee5be0fd9a3ae1b943297311e7ff89e (patch) | |
tree | 78aea21732d1cfb035d5fa1abbd41424c48bd266 /nixos | |
parent | 312b056af6b850ff9527153a27a7a3674c390c65 (diff) | |
download | nixos-personal-fe23a05bcee5be0fd9a3ae1b943297311e7ff89e.tar.gz nixos-personal-fe23a05bcee5be0fd9a3ae1b943297311e7ff89e.tar.bz2 nixos-personal-fe23a05bcee5be0fd9a3ae1b943297311e7ff89e.zip |
nixos: include configuration revision in the system
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/configurations.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/configurations.nix b/nixos/configurations.nix index b96b0f6..31338e5 100644 --- a/nixos/configurations.nix +++ b/nixos/configurations.nix @@ -15,6 +15,7 @@ with nixpkgs.lib; let self.overlays.default sterm.overlay ]; + system.configurationRevision = self.rev or "dirty"; } ] ++ (optional (hasAttr "machine-${hostname}" self.nixosModules) self.nixosModules."machine-${hostname}"); |