From c6a19487c14dd47d66e738b0736ce691257dc962 Mon Sep 17 00:00:00 2001 From: Veneficium <85629831+veneficium42@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:50:41 +0200 Subject: [PATCH] fix: overlays --- flake.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 20373ce..4dd430d 100644 --- a/flake.nix +++ b/flake.nix @@ -13,24 +13,22 @@ outputs = inputs@{ self, nixpkgs, home-manager, ... }: let - overlays = [ - # Nix VSCode Extensions Overlay - inputs.nix-vscode-extensions.overlays.default -]; - pkgs = system: import nixpkgs { - inherit system overlays; + inherit system; + overlays = [ + inputs.nix-vscode-extensions.overlays.default + ]; config = {allowUnfree = true;}; }; - + in { nixosConfigurations = { - fedfer-main-laptop-nixos = nixpkgs.lib.nixosSystem { + fedfer-main-laptop-nixos = nixpkgs.lib.nixosSystem rec { system = "x86_64-linux"; - specialArgs = { inherit pkgs; }; - modules = [ + specialArgs = { pkgs = pkgs system; }; + modules = [ ./hosts/main-laptop/configuration.nix home-manager.nixosModules.home-manager {