🚚 (neodymium/system) move allowed unfree packages from home to system
This commit is contained in:
parent
1815bf6ea1
commit
c66cbd96b4
|
@ -1,11 +1,4 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"vscode-insiders"
|
||||
"vscode-extension-github-copilot"
|
||||
"vscode-extension-ms-vsliveshare-vsliveshare"
|
||||
];
|
||||
|
||||
{ pkgs, ... }: {
|
||||
services.mpris-proxy.enable = true; # media keys
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{ lib, ... }: {
|
||||
# restrict nix command to sudoers
|
||||
nix.settings.allowed-users = [ "@wheel" ];
|
||||
|
||||
|
@ -15,9 +15,19 @@
|
|||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
# binary caches
|
||||
nix.settings = {
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys =
|
||||
[ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
|
||||
# list of allowed unfree packages
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"vscode"
|
||||
"vscode-extension-github-copilot"
|
||||
"vscode-extension-github-copilot-chat"
|
||||
"vscode-extension-ms-vsliveshare-vsliveshare"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue