From 17b129d9bf232924f3d33718f4e963b9de5c074b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 6 Sep 2022 15:44:45 -0400 Subject: [PATCH] Refactor: group inputs --- flake.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 6c28117..e78ce14 100644 --- a/flake.nix +++ b/flake.nix @@ -2,20 +2,23 @@ description = "Srid's NixOS configuration"; inputs = { + # Principle inputs nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; darwin.url = "github:lnl7/nix-darwin/master"; darwin.inputs.nixpkgs.follows = "nixpkgs"; - - flake-utils.url = "github:numtide/flake-utils"; - flake-utils.inputs.nixpkgs.follows = "nixpkgs"; - nixos-hardware.url = github:NixOS/nixos-hardware/master; - # See https://nix-community.github.io/home-manager/index.html#ch-nix-flakes home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; + + # Supportive inputs + flake-utils.url = "github:numtide/flake-utils"; + flake-utils.inputs.nixpkgs.follows = "nixpkgs"; + nixos-shell.url = "github:Mic92/nixos-shell"; + nixos-hardware.url = github:NixOS/nixos-hardware/master; + + # Software inputs nixos-vscode-server.url = "github:msteen/nixos-vscode-server"; nixos-vscode-server.flake = false; hercules-ci-agent.url = "github:hercules-ci/hercules-ci-agent/master"; - nixos-shell.url = "github:Mic92/nixos-shell"; comma.url = "github:nix-community/comma"; comma.inputs.nixpkgs.follows = "nixpkgs";