chore(nix): Upgrade nixpkgs to v25.05

This commit is contained in:
Ahmad Ansori Palembani 2025-05-22 18:45:05 +07:00
parent 088b50dcb8
commit 3cdde04427
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
7 changed files with 85 additions and 43 deletions

View file

@ -86,8 +86,8 @@ in {
'';
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
nix = {
enable = true;
package = pkgs.nix;
settings.experimental-features = "nix-command flakes"; # stopping nix from crying about using experimental features flakes and nix-command
nixPath = [ "nixpkgs=/run/current-system/sw/nixpkgs" ];
@ -110,6 +110,7 @@ in {
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system = {
primaryUser = "ziro";
stateVersion = 4;
# Nix-darwin does not link installed applications to the user environment. This means apps will not show up
# in spotlight, and when launched through the dock they come with a terminal window. This is a workaround.