diff --git a/home-manager/users/jimbo.nix b/home-manager/users/jimbo.nix index 274b856..0547df5 100644 --- a/home-manager/users/jimbo.nix +++ b/home-manager/users/jimbo.nix @@ -6,6 +6,7 @@ EDITOR = "nvim"; LIBVIRT_DEFAULT_URI = "qemu:///system"; HISTCONTROL = "ignoreboth"; + NIXPKGS_ALLOW_UNFREE = "1"; }; }; } diff --git a/nixos/modules/legacy.nix b/nixos/modules/legacy.nix index 98f1105..8db57c7 100644 --- a/nixos/modules/legacy.nix +++ b/nixos/modules/legacy.nix @@ -1,10 +1,8 @@ {config, inputs, lib, ...}: { - # This will add each flake input as a registry - # To make nix commands consistent with your flake + # This will add each flake input as a registry to make nix commands consistent with your flake nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs); - # This will additionally add your inputs to the system's legacy channels - # Making legacy nix commands consistent as well, awesome! + # This will add your inputs to the system's legacy channels making legacy nix commands consistent nix.nixPath = ["/etc/nix/path"]; environment.etc = lib.mapAttrs'