diff --git a/flake.lock b/flake.lock index c762f3c..002e0d6 100644 --- a/flake.lock +++ b/flake.lock @@ -217,6 +217,22 @@ "type": "github" } }, + "nixpkgs-small": { + "locked": { + "lastModified": 1732007104, + "narHash": "sha256-qaWPxgLAvtIHTDcm0qJuc+WNYjcy4ZKigOyn2ag4ihM=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "0705964c881cea8896474610188905ba41b59b08", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable-small", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1731755305, @@ -313,6 +329,7 @@ "huecli": "huecli", "nix-packages": "nix-packages", "nixpkgs": "nixpkgs", + "nixpkgs-small": "nixpkgs-small", "nixpkgs-stable": "nixpkgs-stable", "nixprstatus": "nixprstatus", "sops-nix": "sops-nix" diff --git a/flake.nix b/flake.nix index e05241c..64cd2c6 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,7 @@ nixpkgs-stable.url = "github:nixos/nixpkgs?ref=nixos-24.11"; #nixpkgs-master.url = "github:nixos/nixpkgs?ref=master"; nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + nixpkgs-small.url = "github:nixos/nixpkgs?ref=nixos-unstable-small"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; @@ -38,6 +39,7 @@ nixpkgs, # nixpkgs-master, nixpkgs-stable, + nixpkgs-small, nixprstatus, sops-nix, ghettoptt, @@ -54,6 +56,17 @@ config.allowUnfree = true; }; }; + overlay-pyside6 = + final: prev: + let + small = import nixpkgs-small { + inherit system; + config.allowUnfree = true; + }; + in + { + python312Packages = small.lib.warn "Using python312Packages from nixos-unstable-small #" small.python312Packages; + }; # overlay-master = final: prev: { # master = import nixpkgs-master { # inherit system; @@ -71,6 +84,7 @@ commonOverlays = [ overlay-stable # overlay-master + overlay-pyside6 ghettoptt.overlays.default huecli.overlays.default nix-packages.overlays.default