WIP2
This commit is contained in:
parent
92f83235e0
commit
62778d8519
25 changed files with 647 additions and 529 deletions
32
modules/common/nixpkgs.nix
Normal file
32
modules/common/nixpkgs.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) getName mkMerge optionalAttrs;
|
||||
in
|
||||
{
|
||||
config = mkMerge [
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (getName pkg) [
|
||||
"1password-cli"
|
||||
"1password"
|
||||
"nvidia-settings"
|
||||
"nvidia-x11"
|
||||
"obsidian"
|
||||
"vscode-extension-ms-vscode-remote-remote-ssh"
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
(optionalAttrs (builtins.pathExists ../../overlays) {
|
||||
nixpkgs.overlays = [
|
||||
(import ../../overlays)
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue