From 8f03cbf2501922ad660bcf0029fb86db1ed6dbf3 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 24 Sep 2023 03:39:32 +0530 Subject: [PATCH] refactor flake.nix --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 3c6cf13..88e3d3b 100644 --- a/flake.nix +++ b/flake.nix @@ -40,7 +40,7 @@ nixvim, } @ inputs: let secrets = import ./secrets.nix; - config = { + nixpkgs-config = { allowUnfree = true; }; in @@ -50,7 +50,7 @@ system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; - inherit config; + config = nixpkgs-config; overlays = [(import ./packages)]; }; specialArgs = inputs // {inherit secrets;}; @@ -86,7 +86,7 @@ system = "aarch64-linux"; pkgs = import nixpkgs { inherit system; - inherit config; + config = nixpkgs-config; }; specialArgs = inputs // {inherit secrets;}; modules = [ @@ -102,7 +102,7 @@ system = "aarch64-linux"; pkgs = import nixpkgs { inherit system; - inherit config; + config = nixpkgs-config; }; specialArgs = inputs // {inherit secrets;}; modules = [