From 7f4d3a0260e36592b6054486c33367d0cde78a84 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Wed, 16 Oct 2024 08:39:32 +0700 Subject: [PATCH] chore(nix): Put output at the top --- .config/nix/flake.nix | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.config/nix/flake.nix b/.config/nix/flake.nix index 522ccdd..17cb6c2 100644 --- a/.config/nix/flake.nix +++ b/.config/nix/flake.nix @@ -1,25 +1,6 @@ { description = "null2264's Nix Setup"; - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-24.05-darwin"; - - nix-darwin = { - url = "github:LnL7/nix-darwin"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - home-manager = { - url = "github:nix-community/home-manager/release-24.05"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - system-manager = { - url = "github:numtide/system-manager"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; - outputs = inputs@{ self, nix-darwin, nixpkgs, home-manager, system-manager }: let vars = { @@ -43,4 +24,23 @@ } ); }; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-24.05-darwin"; + + nix-darwin = { + url = "github:LnL7/nix-darwin"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + home-manager = { + url = "github:nix-community/home-manager/release-24.05"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + system-manager = { + url = "github:numtide/system-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; }