fix(modules): vendor our own revision of nixpkgs

This commit is contained in:
seth 2023-06-02 15:25:15 -04:00 committed by Sam Nystrom
parent 27683fd6b8
commit c88242c4fa
4 changed files with 25 additions and 8 deletions

View file

@ -16,9 +16,25 @@
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1685655444,
"narHash": "sha256-6EujQNAeaUkWvpEZZcVF8qSfQrNVWFNNGbUJxv/A5a8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e635192892f5abbc2289eaac3a73cdb249abaefd",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-unstable",
"type": "indirect"
}
},
"root": {
"inputs": {
"flake-compat": "flake-compat"
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,14 +1,15 @@
{
description = "Soothing pastel theme for Nix";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
};
outputs = _: {
nixosModules.catppuccin = import ./modules/nixos;
homeManagerModules.catppuccin = import ./modules/home-manager;
outputs = { nixpkgs, ... }: {
nixosModules.catppuccin = import ./modules/nixos nixpkgs;
homeManagerModules.catppuccin = import ./modules/home-manager nixpkgs;
};
}

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }:
nixpkgs: { config, pkgs, lib, ... }:
let
extendedLib = import ../lib/mkExtLib.nix lib;
extendedLib = import ../lib/mkExtLib.nix nixpkgs.lib;
in
{
imports =

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }:
nixpkgs: { config, pkgs, lib, ... }:
let
extendedLib = import ../lib/mkExtLib.nix lib;
extendedLib = import ../lib/mkExtLib.nix nixpkgs.lib;
in
{
imports =