Add Nix Flakes support
This commit is contained in:
parent
b1bc3c019e
commit
6be5927c61
1 changed files with 12 additions and 0 deletions
|
|
@ -1,6 +1,18 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixUnstable;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pkgs.writeShellScriptBin "nixFlakes" ''
|
||||
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
|
||||
'')
|
||||
|
||||
wget
|
||||
inetutils
|
||||
openvpn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue