aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-04-27 16:49:46 +0900
committernsfisis <nsfisis@gmail.com>2025-04-27 16:49:46 +0900
commit3c8d630bd5ada8c8830f548dde783bffcff5c8a4 (patch)
treea7b873e6762b7f846d0462c3bf88a123eb734ca5 /flake.nix
parentdf3d67c83bd97c66f6e9eab42117444c4dbc6fc6 (diff)
downloaddotfiles-3c8d630bd5ada8c8830f548dde783bffcff5c8a4.tar.gz
dotfiles-3c8d630bd5ada8c8830f548dde783bffcff5c8a4.tar.zst
dotfiles-3c8d630bd5ada8c8830f548dde783bffcff5c8a4.zip
nix: use my own nur-packages
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 302aaa8..a626915 100644
--- a/flake.nix
+++ b/flake.nix
@@ -19,6 +19,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
+ nur-packages = {
+ url = "github:nsfisis/nur-packages";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
@@ -30,6 +35,7 @@
nixpkgs,
flake-utils,
treefmt-nix,
+ nur-packages,
home-manager,
...
}:
@@ -55,7 +61,10 @@
}:
home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { inherit system; };
- extraSpecialArgs = { inherit env; };
+ extraSpecialArgs = {
+ inherit env;
+ nurpkgs = nur-packages.legacyPackages.${system};
+ };
modules = [
./home-manager/home.nix
];