summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-03 00:54:20 -0500
committerseth <[email protected]>2023-03-03 00:54:20 -0500
commita902e73e617835418b6f78b9724ed1b67b6d032e (patch)
tree64b834a90580aa5ed76b956934d0ed18e7a97573 /flake.nix
parent9ad38084648f5e6b4724206db73956bfadb385fe (diff)
add my own overlay
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index e137eab..a2ccd2b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,10 @@
{
inputs = {
nixpkgsUnstable.url = "nixpkgs/nixos-unstable";
+ getchoo = {
+ url = "github:getchoo/overlay";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@@ -20,6 +24,7 @@
outputs = inputs @ {
nixpkgs,
nixpkgsUnstable,
+ getchoo,
home-manager,
lanzaboote,
nixos-hardware,
@@ -64,11 +69,8 @@
nur.nixosModules.nur
{
- nixpkgs.overlays = let
- localOverlay = _: super: {
- discord-canary = super.discord-canary.override {withOpenASAR = true;};
- };
- in [nur.overlay localOverlay];
+ nixpkgs.overlays = [nur.overlay getchoo.overlays.default];
+ nix.registry.getchoo.flake = getchoo;
}
]
++ (seth {inherit specialArgs pkgs;}).x86_64-linux.system;
@@ -94,6 +96,9 @@
startMenuLaunchers = false;
interop.includePath = false;
};
+
+ nixpkgs.overlays = [getchoo.overlays.default];
+ nix.registry.getchoo.flake = getchoo;
}
]
++ (seth {inherit specialArgs pkgs;}).x86_64-linux.system;