-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputs.nix
23 lines (19 loc) · 846 Bytes
/
inputs.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
let
nixpkgs-dependent-input = url: {
inherit url;
inputs.nixpkgs.follows = "nixpkgs";
};
use-relative-paths = true;
in-this-repo = if (use-relative-paths) then "path:./" else "github:saksmt/nix-confg?dir=";
in
{
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixgl = nixpkgs-dependent-input "github:nix-community/nixGL";
home-manager = nixpkgs-dependent-input "github:nix-community/home-manager/release-24.11";
utils.url = "github:numtide/flake-utils";
nix-features = nixpkgs-dependent-input "${in-this-repo}shared-lib/nix-features";
nix-unstables = nixpkgs-dependent-input "${in-this-repo}shared-lib/nix-unstables";
nix-hm-adapter.url = "${in-this-repo}shared-lib/nix-hm-adapter";
}