mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-21 19:57:30 +01:00
challenger: Re-enable nvidia, various fixes. NFS still broken :(
This commit is contained in:
parent
5fed94ef27
commit
3ddb78788b
8
flake.lock
generated
8
flake.lock
generated
@ -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"
|
||||
},
|
||||
|
@ -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";
|
||||
}
|
||||
|
@ -1,12 +1,21 @@
|
||||
{ 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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user