added nix-alien
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./nix-alien.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
@@ -101,6 +102,7 @@
|
|||||||
# Install firefox.
|
# Install firefox.
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
||||||
|
programs.nix-ld.enable = true;
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
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