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;
|
nixpkgs.config.android_sdk.accept_license = true;
|
||||||
|
|
||||||
allowedUnfreePackages = [
|
my.allowedUnfreePackages = [
|
||||||
"android-sdk-cmdline-tools"
|
"android-sdk-cmdline-tools"
|
||||||
"android-sdk-platform-tools"
|
"android-sdk-platform-tools"
|
||||||
"android-sdk-tools"
|
"android-sdk-tools"
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
my.overlays.unstable.enable = true;
|
my.overlays.unstable.enable = true;
|
||||||
allowedUnfreePackages = [ "claude-code" ];
|
my.allowedUnfreePackages = [ "claude-code" ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
unstable.claude-code
|
unstable.claude-code
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
{
|
{
|
||||||
options.allowedUnfreePackages = lib.mkOption {
|
options.my.allowedUnfreePackages = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
example = [ "steam" ];
|
example = [ "steam" ];
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
# https://github.com/NixOS/nixpkgs/issues/197325#issuecomment-1579420085
|
# https://github.com/NixOS/nixpkgs/issues/197325#issuecomment-1579420085
|
||||||
allowUnfreePredicate = lib.mkDefault (
|
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 ];
|
environment.systemPackages = with pkgs; [ nvtopPackages.intel ];
|
||||||
allowedUnfreePackages = [ "intel-ocl" ];
|
my.allowedUnfreePackages = [ "intel-ocl" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
allowedUnfreePackages = [
|
my.allowedUnfreePackages = [
|
||||||
"steam"
|
"steam"
|
||||||
"steam-original"
|
"steam-original"
|
||||||
"steam-run"
|
"steam-run"
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
nix.settings.trusted-users = [ "muede" ];
|
nix.settings.trusted-users = [ "muede" ];
|
||||||
|
|
||||||
allowedUnfreePackages = [
|
my.allowedUnfreePackages = [
|
||||||
"rider"
|
"rider"
|
||||||
"pycharm-professional"
|
"pycharm-professional"
|
||||||
"jetbrains-toolbox"
|
"jetbrains-toolbox"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue