mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-12-15 14:50:05 +05:30
refactor(hosts): consolidate nvidia-container-toolkit configuration
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
../../modules/nixos/steam.nix
|
||||
];
|
||||
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
tux.services.openssh.enable = true;
|
||||
|
||||
nixpkgs.config.cudaSupport = true;
|
||||
|
||||
sops.secrets = {
|
||||
|
||||
@@ -12,7 +12,10 @@
|
||||
../../modules/nixos/virtualisation/docker.nix
|
||||
];
|
||||
|
||||
hardware.nvidia-container-toolkit.suppressNvidiaDriverAssertion = true;
|
||||
hardware.nvidia-container-toolkit = {
|
||||
enable = true;
|
||||
suppressNvidiaDriverAssertion = true;
|
||||
};
|
||||
|
||||
tux.services.openssh.enable = true;
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
docker.enable = true;
|
||||
};
|
||||
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [lazydocker];
|
||||
|
||||
users.users.${username}.extraGroups = ["docker"];
|
||||
|
||||
Reference in New Issue
Block a user