messed with disko and zfs, removed direnv module as it got upstreamed

This commit is contained in:
Gerg-L 2023-07-16 15:33:43 -04:00
parent 3e0398f799
commit 29fa4dff1d
11 changed files with 109 additions and 297 deletions

View file

@ -4,18 +4,13 @@ _: {
pkgs,
...
}: {
options = {
dummyvalue = lib.mkOption {
default = {};
};
nixpkgs.allowedUnfree = lib.mkOption {
type = lib.types.listOf lib.types.string;
default = [];
};
options.local.allowedUnfree = lib.mkOption {
type = lib.types.listOf lib.types.string;
default = [];
};
config = {
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowedUnfree;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.local.allowedUnfree;
environment.defaultPackages = lib.mkForce (builtins.attrValues {
inherit