feat(ap01): write nixpkgs version in /etc
It's useful for debugging. We should also track our own revisions at some point. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
c08d6c464f
commit
4ed0c435ba
1 changed files with 5 additions and 0 deletions
|
@ -151,6 +151,11 @@ rec {
|
||||||
filesystem = dir {
|
filesystem = dir {
|
||||||
etc = dir {
|
etc = dir {
|
||||||
"resolv.conf" = symlink "${config.services.resolvconf}/.outputs/resolv.conf";
|
"resolv.conf" = symlink "${config.services.resolvconf}/.outputs/resolv.conf";
|
||||||
|
"nixpkgs.version" = {
|
||||||
|
type = "f";
|
||||||
|
file = "${pkgs.lib.version}";
|
||||||
|
mode = "0444";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue