add configuration revision
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
5ce78d85f0
commit
edc51ac9d9
|
@ -15,9 +15,11 @@
|
||||||
mkSystem = extraModules:
|
mkSystem = extraModules:
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules =
|
modules = [
|
||||||
[ agenix.nixosModules.age home-manager.nixosModules.home-manager ]
|
agenix.nixosModules.age
|
||||||
++ extraModules;
|
home-manager.nixosModules.home-manager
|
||||||
|
({ ... }: { system.configurationRevision = self.sourceInfo.rev; })
|
||||||
|
] ++ extraModules;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
devShell.x86_64-linux = pkgs.mkShell {
|
devShell.x86_64-linux = pkgs.mkShell {
|
||||||
|
|
Loading…
Reference in New Issue