Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: change nix-darwin input

cosmeak 49d586a6 58998501

+4 -4
+2 -2
flake.lock
··· 9 9 "locked": { 10 10 "lastModified": 1748065210, 11 11 "narHash": "sha256-dFqlLNW6UW19m0vg5FHWLH2G2LGkqYyPs/4YqfoZMoM=", 12 - "owner": "LnL7", 12 + "owner": "nix-darwin", 13 13 "repo": "nix-darwin", 14 14 "rev": "acd6aa5a9065c6695212be313e06f08f7184cb25", 15 15 "type": "github" 16 16 }, 17 17 "original": { 18 - "owner": "LnL7", 18 + "owner": "nix-darwin", 19 19 "repo": "nix-darwin", 20 20 "type": "github" 21 21 }
+1 -1
flake.nix
··· 15 15 16 16 # Macos modules 17 17 darwin = { 18 - url = "github:LnL7/nix-darwin"; 18 + url = "github:nix-darwin/nix-darwin"; 19 19 inputs.nixpkgs.follows= "nixpkgs"; 20 20 }; 21 21
+1 -1
justfile
··· 8 8 switch hostname=hostname: 9 9 #!/usr/bin/env sh 10 10 if [[ "$OSTYPE" == "darwin"* ]]; then \ 11 - darwin-rebuild switch --flake .#{{ hostname }}; \ 11 + sudo darwin-rebuild switch --flake .#{{ hostname }}; \ 12 12 else \ 13 13 sudo nixos-rebuild switch --flake .#{{ hostname }}; \ 14 14 fi;