summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorcoast <coasteen@proton.me>2026-08-20 04:04:30 +0330
committercoast <coasteen@proton.me>2026-08-20 04:04:30 +0330
commitaf2189a58739b535bcdf5afaf6c486cca448e234 (patch)
tree003a21f6c01b68236db7815b40000e471b91fcd5 /flake.nix
parent6ae76a758fb8336408480656a5435598c4c9273c (diff)
xserber
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; };
}
];
};