added nix-alien

This commit is contained in:
2024-05-21 00:01:29 +03:00
parent a9e6f0b7cc
commit 470c58dc09
2 changed files with 17 additions and 0 deletions

View File

@@ -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
View 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;
}