move allowedUnfreePackages into my namespace
This commit is contained in:
parent
d2acd47e71
commit
63ce7eac05
6 changed files with 7 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ in
|
|||
{
|
||||
nixpkgs.config.android_sdk.accept_license = true;
|
||||
|
||||
allowedUnfreePackages = [
|
||||
my.allowedUnfreePackages = [
|
||||
"android-sdk-cmdline-tools"
|
||||
"android-sdk-platform-tools"
|
||||
"android-sdk-tools"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
{
|
||||
|
||||
my.overlays.unstable.enable = true;
|
||||
allowedUnfreePackages = [ "claude-code" ];
|
||||
my.allowedUnfreePackages = [ "claude-code" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
unstable.claude-code
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
options.allowedUnfreePackages = lib.mkOption {
|
||||
options.my.allowedUnfreePackages = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
example = [ "steam" ];
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
nixpkgs.config = {
|
||||
# https://github.com/NixOS/nixpkgs/issues/197325#issuecomment-1579420085
|
||||
allowUnfreePredicate = lib.mkDefault (
|
||||
pkg: builtins.elem (lib.getName pkg) config.allowedUnfreePackages
|
||||
pkg: builtins.elem (lib.getName pkg) config.my.allowedUnfreePackages
|
||||
);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -22,6 +22,6 @@
|
|||
];
|
||||
};
|
||||
environment.systemPackages = with pkgs; [ nvtopPackages.intel ];
|
||||
allowedUnfreePackages = [ "intel-ocl" ];
|
||||
my.allowedUnfreePackages = [ "intel-ocl" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
allowedUnfreePackages = [
|
||||
my.allowedUnfreePackages = [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
nix.settings.trusted-users = [ "muede" ];
|
||||
|
||||
allowedUnfreePackages = [
|
||||
my.allowedUnfreePackages = [
|
||||
"rider"
|
||||
"pycharm-professional"
|
||||
"jetbrains-toolbox"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue