Change flake.nix to allow different nixpkgs versions
This commit is contained in:
@@ -34,6 +34,11 @@ in
|
||||
type = types.enum [ "ctrl-esc" "esc" "caps" ];
|
||||
default = "ctrl-esc";
|
||||
};
|
||||
|
||||
nixpkgs = mkOption {
|
||||
description = "Which nixpkgs version to use";
|
||||
type = types.any;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ in
|
||||
config = {
|
||||
environment.systemPackages = with pkgs; [
|
||||
ldns
|
||||
mtr
|
||||
]
|
||||
++ optional cfg.wireguard.enable wireguard-tools;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user