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

View File

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

View File

@ -1,11 +1,20 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# Enable nfs4 only fileSystems = {
services.nfs.server = { "/export/riker-backup" = {
enable = true; device = "/tank/backup/riker";
exports = '' options = [ "bind" ];
''; # TODO
}; };
};
# 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.allowedTCPPorts = [ 111 2049 20048 ];
networking.firewall.allowedUDPPorts = [ 111 20048]; networking.firewall.allowedUDPPorts = [ 111 20048];