using 24.05 to download mypaint from cache

This commit is contained in:
2024-12-22 20:12:45 -06:00
parent d032e426ce
commit 741de2c73e
4 changed files with 91 additions and 64 deletions

View File

@@ -2,6 +2,7 @@
description = "JawZ NixOS flake setup";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs-paint.url = "github:nixos/nixpkgs?ref=nixos-24.05";
ucodenix.url = "github:e-tho/ucodenix";
doom-emacs.url = "github:marienz/nix-doom-emacs-unstraightened";
jawz-scripts = {
@@ -39,10 +40,14 @@
let
inherit (self) outputs;
system = "x86_64-linux";
pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
mkpkgs =
repo:
import repo {
inherit system;
config.allowUnfree = true;
};
pkgs = mkpkgs inputs.nixpkgs;
pkgsP = mkpkgs inputs.nixpkgs-paint;
lib = inputs.nixpkgs.lib // inputs.home-manager.lib;
createConfig =
name:
@@ -54,7 +59,7 @@
modules = [
{
nixpkgs.overlays = [
(import ./overlay.nix { inherit pkgs; })
(import ./overlay.nix { inherit pkgs pkgsP; })
inputs.doom-emacs.overlays.default
];
}