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: add overlay for nixpkgs unstable and add it to loki with brioche pkgs

cosmeak 16599109 109768e9

+31 -1
+18 -1
flake.lock
··· 118 118 "darwin": "darwin", 119 119 "flake-parts": "flake-parts", 120 120 "hjem": "hjem", 121 - "nixpkgs": "nixpkgs" 121 + "nixpkgs": "nixpkgs", 122 + "unstable": "unstable" 122 123 } 123 124 }, 124 125 "rust-overlay": { ··· 178 179 "original": { 179 180 "owner": "nix-systems", 180 181 "repo": "default", 182 + "type": "github" 183 + } 184 + }, 185 + "unstable": { 186 + "locked": { 187 + "lastModified": 1770562336, 188 + "narHash": "sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84=", 189 + "owner": "nixos", 190 + "repo": "nixpkgs", 191 + "rev": "d6c71932130818840fc8fe9509cf50be8c64634f", 192 + "type": "github" 193 + }, 194 + "original": { 195 + "owner": "nixos", 196 + "ref": "nixos-unstable", 197 + "repo": "nixpkgs", 181 198 "type": "github" 182 199 } 183 200 }
+1
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 6 6 7 # Macos modules 7 8 darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-25.11";
+3
modules/hosts/loki/configuration.nix
··· 15 15 (autoLogin "cosmeak") 16 16 ]; 17 17 18 + nixpkgs.overlays = [ inputs.self.overlays.unstable ]; 19 + 18 20 # Connect with smartphone 19 21 programs.kdeconnect.enable = true; 20 22 ··· 22 24 git 23 25 just 24 26 nixd 27 + unstable.brioche 25 28 ]; 26 29 27 30 networking.networkmanager.enable = true;
+9
modules/overlays/unstable.nix
··· 1 + # The unstable nixpkgs set (declared in the flake inputs) will 2 + # be accessible through `pkgs.unstable` 3 + { inputs, ... }: { 4 + flake.overlays.unstable = final: prev: { 5 + unstable = import inputs.unstable { 6 + inherit (final) system; 7 + }; 8 + }; 9 + }