added unfree applications explicitely
This commit is contained in:
parent
0444229bb0
commit
91adefc48e
@ -5,8 +5,6 @@
|
||||
specialArgs,
|
||||
modulesPath,
|
||||
}: {
|
||||
nixpkgs.config.allowUnfreePredicate = _: true;
|
||||
|
||||
home.stateVersion = "23.05";
|
||||
home.username = "kristian";
|
||||
home.homeDirectory = "/home/kristian";
|
||||
|
@ -1,4 +1,20 @@
|
||||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
config.nixpkgs.config = {
|
||||
allowUnfree = false;
|
||||
|
||||
allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"vscode"
|
||||
"vscode-extension-MS-python-vscode-pylance"
|
||||
"vscode-extension-github-copilot"
|
||||
"osu-lazer"
|
||||
];
|
||||
};
|
||||
|
||||
config.home.packages = with pkgs; [
|
||||
# Basic utils
|
||||
unzip
|
||||
|
Loading…
Reference in New Issue
Block a user