mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
fixed issues related to configurationRevision
This commit is contained in:
parent
d815643dfc
commit
115595c8bf
|
@ -123,7 +123,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
darwinConfigurations."iMac-de-Eddie" = nix-darwin.lib.darwinSystem {
|
darwinConfigurations."iMac-de-Eddie" = nix-darwin.lib.darwinSystem {
|
||||||
modules = [ ./hosts/dadarwin/configuration.nix ];
|
modules = [ ./hosts/dadarwin/configuration.nix
|
||||||
|
|
||||||
|
{system.configurationRevision = self.rev or self.dirtyRev or null;}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Expose the package set, including overlays, for convenience.
|
# Expose the package set, including overlays, for convenience.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
# List packages installed in system profile. To search by name, run:
|
# List packages installed in system profile. To search by name, run:
|
||||||
# $ nix-env -qaP | grep wget
|
# $ nix-env -qaP | grep wget
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
|
@ -20,13 +21,10 @@
|
||||||
programs.zsh.enable = true; # default shell on catalina
|
programs.zsh.enable = true; # default shell on catalina
|
||||||
# programs.fish.enable = true;
|
# programs.fish.enable = true;
|
||||||
|
|
||||||
# Set Git commit hash for darwin-version.
|
|
||||||
system.configurationRevision = self.rev or self.dirtyRev or null;
|
|
||||||
|
|
||||||
# Used for backwards compatibility, please read the changelog before changing.
|
# Used for backwards compatibility, please read the changelog before changing.
|
||||||
# $ darwin-rebuild changelog
|
# $ darwin-rebuild changelog
|
||||||
system.stateVersion = 5;
|
system.stateVersion = 5;
|
||||||
|
|
||||||
# The platform the configuration will be used on.
|
# The platform the configuration will be used on.
|
||||||
nixpkgs.hostPlatform = "x86_64-darwin";
|
nixpkgs.hostPlatform = "x86_64-darwin";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue