diff --git a/configuration.nix b/configuration.nix index 6fbf160..2cfef18 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ./nix-alien.nix ]; # Bootloader. @@ -101,6 +102,7 @@ # Install firefox. programs.firefox.enable = true; + programs.nix-ld.enable = true; # Allow unfree packages nixpkgs.config.allowUnfree = true; diff --git a/nix-alien.nix b/nix-alien.nix new file mode 100644 index 0000000..713ef20 --- /dev/null +++ b/nix-alien.nix @@ -0,0 +1,15 @@ +{ ... }: + +let + nix-alien-pkgs = import ( + builtins.fetchTarball "https://github.com/thiagokokada/nix-alien/tarball/master" + ) { }; +in +{ + environment.systemPackages = with nix-alien-pkgs; [ + nix-alien + ]; + + # Optional, but this is needed for `nix-alien-ld` command + programs.nix-ld.enable = true; +}