From 95f82db97b9963f8ac0f5ad8215023f70332c04a Mon Sep 17 00:00:00 2001 From: xezo360hye Date: Mon, 12 Aug 2024 22:24:07 +0300 Subject: [PATCH] fix: add missing allowUnfree options --- flake.nix | 1 + home/common.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 8a670fd..1d8322d 100644 --- a/flake.nix +++ b/flake.nix @@ -61,6 +61,7 @@ "${username}@${hostname}" = home-manager.lib.homeManagerConfiguration { pkgs = import nixpkgs { system = "x86_64-linux"; + config.allowUnfree = true; overlays = [ nur.overlay ]; }; extraSpecialArgs = { inherit inputs; }; diff --git a/home/common.nix b/home/common.nix index f150382..5a9ccff 100644 --- a/home/common.nix +++ b/home/common.nix @@ -94,5 +94,9 @@ sessionVariables = { ANI_CLI_PLAYER = "mpv"; }; + + file = { + ".config/nixpkgs/config.nix".text = "{ allowUnfree = true; }"; + }; }; }