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: use stable darwin channel for darwin hosts

cosmeak 3760a6cf d25de18f

+44 -28
+35 -18
flake.lock
··· 3 3 "darwin": { 4 4 "inputs": { 5 5 "nixpkgs": [ 6 - "nixpkgs" 6 + "nixpkgs-darwin" 7 7 ] 8 8 }, 9 9 "locked": { ··· 150 150 "type": "github" 151 151 } 152 152 }, 153 + "nixpkgs-darwin": { 154 + "locked": { 155 + "lastModified": 1772598333, 156 + "narHash": "sha256-YaHht/C35INEX3DeJQNWjNaTcPjYmBwwjFJ2jdtr+5U=", 157 + "owner": "nixos", 158 + "repo": "nixpkgs", 159 + "rev": "fabb8c9deee281e50b1065002c9828f2cf7b2239", 160 + "type": "github" 161 + }, 162 + "original": { 163 + "owner": "nixos", 164 + "ref": "nixpkgs-25.11-darwin", 165 + "repo": "nixpkgs", 166 + "type": "github" 167 + } 168 + }, 153 169 "nixpkgs-lib": { 154 170 "locked": { 155 171 "lastModified": 1772328832, ··· 165 181 "type": "github" 166 182 } 167 183 }, 184 + "nixpkgs-unstable": { 185 + "locked": { 186 + "lastModified": 1772674223, 187 + "narHash": "sha256-/suKbHSaSmuC9UY7G0VRQ3aO+QKqxAQPQ19wG7QNkF8=", 188 + "owner": "nixos", 189 + "repo": "nixpkgs", 190 + "rev": "66d9241e3dc2296726dc522e62dbfe89c7b449f3", 191 + "type": "github" 192 + }, 193 + "original": { 194 + "owner": "nixos", 195 + "ref": "nixpkgs-unstable", 196 + "repo": "nixpkgs", 197 + "type": "github" 198 + } 199 + }, 168 200 "nixpkgs_2": { 169 201 "locked": { 170 202 "lastModified": 1772598333, ··· 189 221 "nix-minecraft": "nix-minecraft", 190 222 "nixos-hardware": "nixos-hardware", 191 223 "nixpkgs": "nixpkgs_2", 192 - "unstable": "unstable" 224 + "nixpkgs-darwin": "nixpkgs-darwin", 225 + "nixpkgs-unstable": "nixpkgs-unstable" 193 226 } 194 227 }, 195 228 "rust-overlay": { ··· 264 297 "original": { 265 298 "owner": "nix-systems", 266 299 "repo": "default", 267 - "type": "github" 268 - } 269 - }, 270 - "unstable": { 271 - "locked": { 272 - "lastModified": 1772624091, 273 - "narHash": "sha256-QKyJ0QGWBn6r0invrMAK8dmJoBYWoOWy7lN+UHzW1jc=", 274 - "owner": "nixos", 275 - "repo": "nixpkgs", 276 - "rev": "80bdc1e5ce51f56b19791b52b2901187931f5353", 277 - "type": "github" 278 - }, 279 - "original": { 280 - "owner": "nixos", 281 - "ref": "nixos-unstable", 282 - "repo": "nixpkgs", 283 300 "type": "github" 284 301 } 285 302 }
+3 -2
flake.nix
··· 2 2 inputs = { 3 3 # Packages and Nixos modules 4 4 nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; 5 - unstable.url = "github:nixos/nixpkgs/nixos-unstable"; 5 + nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-25.11-darwin"; 6 + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 6 7 7 8 # Macos modules 8 9 darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-25.11"; 9 - darwin.inputs.nixpkgs.follows= "nixpkgs"; 10 + darwin.inputs.nixpkgs.follows= "nixpkgs-darwin"; 10 11 11 12 # Flake helper 12 13 flake-parts.url = "github:hercules-ci/flake-parts";
+1 -1
modules/features/auto-upgrade.nix
··· 6 6 flake = "git+https://tangled.org/cosmeak.dev/asgard"; 7 7 flags = [ "--no-update-lock-file" ]; 8 8 runGarbageCollection = false; # This will be do with the garbage-collection feature 9 - } 9 + }; 10 10 }; 11 11 }
-1
modules/features/unfree.nix
··· 1 - # modules/nixpkgs/unfree.nix 2 1 { lib, config, ... }: 3 2 { 4 3 options.allowedUnfreePackages = lib.mkOption {
+1 -1
modules/hosts/njord/configuration.nix
··· 98 98 99 99 # Apps from App Store - Just used for XCode because not avalaible somewhere else 100 100 homebrew.masApps = { 101 - Xcode = 497799835; 101 + # Xcode = 497799835; 102 102 }; 103 103 104 104 homebrew.brews = [
+1
modules/lib/host.nix
··· 26 26 mkDarwin = { hostname, system, modules, stateVersion }: 27 27 inputs.darwin.lib.darwinSystem { 28 28 inherit system; 29 + inputs = { nixpkgs = inputs.nixpkgs-darwin; }; 29 30 modules = [ 30 31 inputs.self.darwinModules.unfree-packages 31 32 inputs.self.darwinModules.garbageCollector
+1 -1
modules/overlays/unstable.nix
··· 2 2 # be accessible through `pkgs.unstable` 3 3 { inputs, ... }: { 4 4 flake.overlays.unstable = final: prev: { 5 - unstable = import inputs.unstable { 5 + unstable = import inputs.nixpkgs-unstable { 6 6 inherit (final) system; 7 7 }; 8 8 };
+2 -4
modules/users/cosmeak.nix
··· 23 23 }; 24 24 in 25 25 { 26 - allowedUnfreePackages = [ "1password" "cursor" "obsidian" "raycast" "spotify" ]; 26 + allowedUnfreePackages = [ "1password" "obsidian" "spotify" ]; 27 27 28 28 flake = { 29 29 nixosModules.${username} = lib.mkMerge [ ··· 34 34 ghostty # Terminal emulator 35 35 heroic # Game Launcher (Epic Games, GOG) 36 36 librewolf # Web browser 37 - # obs-studio # Recording App 38 37 prismlauncher # Minecraft launcher 39 38 vesktop # Discord client 40 39 (zed-editor.fhsWithPackages (pkg: [ zlib ])) # Code editor ··· 56 55 stats # System monitoring displayed in macos top bar 57 56 podman # container tool -> replacement of docker 58 57 podman-compose # compose provider for podman 59 - raycast # replacement for spotlight 60 58 61 - unstable.librewolf 59 + unstable.librewolf # build failed on stable for darwin 62 60 ] ++ (sharedPackages pkgs); 63 61 }) 64 62 ];