mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-31 17:20:53 +02:00
fix: fix dirty label
This commit is contained in:
parent
6e8d03a4f4
commit
2bb3f909ac
1 changed files with 6 additions and 1 deletions
|
@ -68,7 +68,12 @@
|
||||||
"/persistent/etc/ssh/ssh_host_ed25519_key"
|
"/persistent/etc/ssh/ssh_host_ed25519_key"
|
||||||
];
|
];
|
||||||
|
|
||||||
system.nixos.label = "${config.system.nixos.release}-${(builtins.fetchGit ../.).dirtyShortRev}";
|
system.nixos.label = "${config.system.nixos.release}-${
|
||||||
|
let
|
||||||
|
repo = builtins.fetchGit ../.;
|
||||||
|
in
|
||||||
|
repo.dirtyShortRev or repo.shortRev
|
||||||
|
}";
|
||||||
|
|
||||||
security.pki.certificates = [
|
security.pki.certificates = [
|
||||||
''
|
''
|
||||||
|
|
Loading…
Add table
Reference in a new issue