From d58bac33430c982d46f750edd7fd2952f1f066fd Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 6 Jan 2025 19:03:55 +0100 Subject: [PATCH] nix: cleanup --- flake.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 35ccf56..6388658 100644 --- a/flake.nix +++ b/flake.nix @@ -17,33 +17,32 @@ ghostty.url = "github:ghostty-org/ghostty"; jujutsu.url = "github:dln/jj/openssh"; neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nix-index-database.url = "github:nix-community/nix-index-database"; - nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; + nix-index-database.inputs.nixpkgs.follows = "nixpkgs-unstable"; home-manager.url = "github:nix-community/home-manager"; - home-manager.inputs.nixpkgs.follows = "nixpkgs"; + home-manager.inputs.nixpkgs.follows = "nixpkgs-unstable"; }; outputs = inputs@{ self, nix-index-database, - nixpkgs, + nixpkgs-unstable, home-manager, ... }: let inherit (self) outputs; system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; + pkgs = nixpkgs-unstable.legacyPackages.${system}; mkHost = modules: - nixpkgs.lib.nixosSystem { + nixpkgs-unstable.lib.nixosSystem { specialArgs = { inherit inputs outputs; };