added nix-alien
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
15
nix-alien.nix
Normal file
15
nix-alien.nix
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user