nix: add my nix repository as submodule

This commit is contained in:
Jez Cope 2021-03-28 16:18:13 +01:00
parent d7ec23d1aa
commit de813d0b25
4 changed files with 16 additions and 6 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "nixexprs"]
path = nixexprs
url = git@tildegit.org:petrichor/nixexprs.git

View File

@ -26,6 +26,9 @@ in {
};
};
};
nixpkgs.overlays = [
# (self: super: { libvirt = (import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/066676b839a217f6b1b5d8ab05842604d33b7258.tar.gz") {}).libvirt; })
];
nix = {
autoOptimiseStore = true;

View File

@ -23,12 +23,15 @@ in {
nixpkgs.config = {
allowUnfree = true;
joypixels.acceptLicense = true;
packageOverrides = pkgs: {
nur = import (builtins.fetchTarball
"https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
};
packageOverrides = pkgs:
let mypkgs = import ../../nixexprs { inherit pkgs; };
in {
nur = import (builtins.fetchTarball
"https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
inherit (mypkgs) dart-sass;
};
};
home.username = "jez";

1
nixexprs Submodule

@ -0,0 +1 @@
Subproject commit 9febddb1c3603b5b2970eb5700260e63a0ef2d1e