challenger: Re-enable nvidia, various fixes. NFS still broken :(

This commit is contained in:
Felix Albrigtsen 2024-10-21 23:24:47 +02:00
parent 5fed94ef27
commit 3ddb78788b
3 changed files with 22 additions and 13 deletions

View File

@ -2,11 +2,11 @@
"nodes": {
"extra-config": {
"locked": {
"lastModified": 1720193877,
"narHash": "sha256-f+ZtFQTbbmieTYLANn0AOz439/sIH+HumOAhItdYYig=",
"lastModified": 1729545170,
"narHash": "sha256-IrjXBAGiJKyIHxjVHPke1RbkqZ5yWTNHLfo8//LP9bM=",
"ref": "refs/heads/main",
"rev": "f9817deef3d4e56a31a89ee93419a9acd278e922",
"revCount": 9,
"rev": "7a64446cecca25a8f7df089ea04557727e5dc041",
"revCount": 10,
"type": "git",
"url": "file:///home/felixalb/nix-extra-config"
},

View File

@ -50,12 +50,12 @@
"nvidia-settings"
];
# hardware.nvidia = {
# modesetting.enable = true;
# };
hardware.nvidia = {
modesetting.enable = true;
};
hardware.opengl.enable = true;
# services.xserver.videoDrivers = ["nvidia"];
services.xserver.videoDrivers = ["nvidia"];
system.stateVersion = "24.05";
}

View File

@ -1,11 +1,20 @@
{ config, pkgs, lib, ... }:
{
# Enable nfs4 only
services.nfs.server = {
enable = true;
exports = ''
''; # TODO
fileSystems = {
"/export/riker-backup" = {
device = "/tank/backup/riker";
options = [ "bind" ];
};
};
# Enable nfs4 only
# services.nfs.server = {
# enable = true;
# exports = ''
# /export 192.168.10.67(rw,fsid=0,no_subtree_check)
# /export/riker-backup 192.168.10.67(rw,nohide,no_subtree_check,no_root_squash)
# '';
# };
networking.firewall.allowedTCPPorts = [ 111 2049 20048 ];
networking.firewall.allowedUDPPorts = [ 111 20048];