diff --git a/system/nixos/nixedo/configuration.nix b/system/nixos/nixedo/configuration.nix index 91d6933..36e5e8a 100644 --- a/system/nixos/nixedo/configuration.nix +++ b/system/nixos/nixedo/configuration.nix @@ -5,8 +5,6 @@ { config, lib, pkgs, ... }: let - nixpkgs = import ../../shared/nixpkgs.nix { }; - configure-gtk = pkgs.writeTextFile { name = "configure-gtk"; destination = "/bin/configure-gtk"; @@ -24,13 +22,17 @@ let }; in { - nixpkgs = nixpkgs; - imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ]; + nixpkgs = { + config = { + allowUnfree = true; + }; + }; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/system/shared/nixpkgs.nix b/system/shared/nixpkgs.nix deleted file mode 100644 index a39e65d..0000000 --- a/system/shared/nixpkgs.nix +++ /dev/null @@ -1,5 +0,0 @@ -{}: { - config = { allowUnfree = true; }; - - overlays = [ (import ./overlays.nix) ]; -} diff --git a/system/shared/overlays.nix b/system/shared/overlays.nix deleted file mode 100644 index ddb4f23..0000000 --- a/system/shared/overlays.nix +++ /dev/null @@ -1 +0,0 @@ -self: super: { }