summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 6c070fe..46bbbab 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,15 +1,15 @@
{
description = "4th flake";
-
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-26.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
+ fetchit.url = "git+https://codeberg.org/coast/fetchit";
};
-
- outputs = { self, nixpkgs, home-manager }: {
+ outputs = { self, nixpkgs, home-manager, fetchit, ... }@inputs: {
nixosConfigurations.unix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
+ specialArgs = { inherit inputs; };
modules =
[
./configuration
@@ -19,6 +19,7 @@
home-manager.useUserPackages = true;
home-manager.users.coast = import ./home-configuration/default.nix;
home-manager.backupFileExtension = "home-backup";
+ home-manager.extraSpecialArgs = { inherit inputs; };
}
];
};