From 4de7dfda6b4e72b2f3aa8006e9da71a18bcbf13e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 23 Apr 2025 17:28:26 +0100 Subject: [PATCH] Refactor --- flake.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 2aa8e30e..4538f10e 100644 --- a/flake.nix +++ b/flake.nix @@ -7,16 +7,18 @@ url = "github:nix-community/disko"; }; - home-manager.inputs.nixpkgs.follows = "nixpkgs"; - home-manager.url = "github:nix-community/home-manager/master"; + home-manager = { + inputs.nixpkgs.follows = "nixpkgs"; + url = "github:nix-community/home-manager/master"; + }; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; + nixpkgs-master.url = "github:nixos/nixpkgs/master"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11"; - - nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nur.url = "github:nix-community/NUR"; };