From c19ecbff144f9ce6fd3bf3806323d782dcec91ac Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 26 Jul 2023 20:48:39 +0200 Subject: [PATCH] Remove code that already in module --- flake.nix | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/flake.nix b/flake.nix index 77e17ce..8f394c3 100644 --- a/flake.nix +++ b/flake.nix @@ -97,19 +97,11 @@ ]; }; home-manager = { - useGlobalPkgs = true; - useUserPackages = true; + useGlobalPkgs = true; + useUserPackages = true; }; system.stateVersion = "23.05"; - - nix.registry = { - home-manager.flake = home-manager; - nixos-hardware.flake = nixos-hardware; - nur.flake = nur; - nixpkgs.flake = nixpkgs; - }; - nix.nixPath = [ "nixpkgs=/etc/channels/nixpkgs" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ]; } ]; }; @@ -151,14 +143,6 @@ }; system.stateVersion = "23.05"; - - nix.registry = { - home-manager.flake = home-manager; - nixos-hardware.flake = nixos-hardware; - nur.flake = nur; - nixpkgs.flake = nixpkgs; - }; - nix.nixPath = [ "nixpkgs=/etc/channels/nixpkgs" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ]; } ]; };