update: flake
This commit is contained in:
parent
6170ff2c1e
commit
2442ccf556
8 changed files with 129 additions and 153 deletions
|
|
@ -15,7 +15,6 @@
|
|||
./sops-conf.nix
|
||||
./nginx.nix
|
||||
../../modules/presets/basic.nix
|
||||
../../modules/cuda.nix
|
||||
../../modules/gaming.nix
|
||||
../../modules/secure-boot.nix
|
||||
../../modules/virtualization.nix
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
./mail-server.nix
|
||||
../../modules/presets/minimal.nix
|
||||
../../modules/bluetooth.nix
|
||||
../../modules/cuda.nix
|
||||
../../modules/gc.nix
|
||||
../../modules/certbot.nix
|
||||
(import ../../modules/nextcloud.nix {
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
# Here only set the environment for cuda shell env
|
||||
# For futher, see flake: https://github.com/DACHXY/python-cuda-flake
|
||||
{ lib, ... }:
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
substituters = [
|
||||
"https://cuda-maintainers.cachix.org"
|
||||
"https://cache.nixos.org/"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
||||
];
|
||||
};
|
||||
};
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"cuda-merged"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue