Nixpkgs/Reviewing changes
1
Packages
Modules
disabledModules = [ "module.nix" ];
imports = let
pkgsReview = builtins.fetchTarball {
url = "https://github.com/USERNAME/nixpkgs/archive/BRANCHNAME.tar.gz";
};
in [
(import "${pkgsReview}/nixos/modules/module.nix")
];
for example
disabledModules = [ "config/swap.nix" "tasks/filesystems.nix" ];
imports = let
pkgsReview = builtins.fetchTarball {
url = "https://github.com/Artturin/nixpkgs/archive/add-swap-options.tar.gz";
};
in [
(import "${pkgsReview}/nixos/modules/config/swap.nix")
(import "${pkgsReview}/nixos/modules/tasks/filesystems.nix")
];
swapDevices = [
{ "device" = "/swapfile"; "options" = [ "nofail" "noatime" ]; "priority" = 0; "discardPolicy" = "once"; }
];