diff --git a/configuration.nix b/configuration.nix index e19c09c..c69ddae 100644 --- a/configuration.nix +++ b/configuration.nix @@ -12,6 +12,7 @@ in [ # Include the results of the hardware scan. ./hardware-configuration.nix ./home.nix + ./nix-alien.nix ]; # List packages installed in system profile. To search, run: @@ -22,7 +23,6 @@ in wget alacritty links2 - fish killall bat dconf diff --git a/home.nix b/home.nix index 913606c..56c729f 100644 --- a/home.nix +++ b/home.nix @@ -133,6 +133,7 @@ in clear exec $SHELL end + alias nix-fish="nix-shell --command fish" alias gitlog="git log --all --oneline --graph" ''; programs.alacritty.enable = 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; +}