mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
messed with disko and zfs, removed direnv module as it got upstreamed
This commit is contained in:
parent
3e0398f799
commit
29fa4dff1d
11 changed files with 109 additions and 297 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue