using 24.05 to download mypaint from cache
This commit is contained in:
15
flake.nix
15
flake.nix
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user