Compare commits

..

No commits in common. "f683a5dce6e5a85fa7231bb1fb5658b9240df9ed" and "c49fc1fb4d738ff1a5bded2eb77661a4ba5d05c5" have entirely different histories.

4 changed files with 17 additions and 17 deletions

View File

@ -53,10 +53,9 @@
hardware.nvidia = { hardware.nvidia = {
modesetting.enable = true; modesetting.enable = true;
open = true;
}; };
hardware.graphics.enable = true; hardware.opengl.enable = true;
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
system.stateVersion = "24.05"; system.stateVersion = "24.05";

View File

@ -16,6 +16,6 @@
# ''; # '';
# }; # };
# networking.firewall.allowedTCPPorts = [ 111 2049 20048 ]; networking.firewall.allowedTCPPorts = [ 111 2049 20048 ];
# networking.firewall.allowedUDPPorts = [ 111 20048]; networking.firewall.allowedUDPPorts = [ 111 20048];
} }

View File

@ -11,22 +11,23 @@
requestEncryptionCredentials = false; requestEncryptionCredentials = false;
}; };
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
}; };
services.zfs.autoScrub = { services.zfs.autoScrub = {
enable = true; enable = true;
interval = "Wed *-*-8..14 00:00:00"; interval = "Wed *-*-8..14 00:00:00";
}; };
# fileSystems = { fileSystems = {
# "/mnt/feal-syn1/backup" = { "/mnt/feal-syn1/backup" = {
# device = "feal-syn1.home.feal.no:/volume2/backup"; device = "feal-syn1.home.feal.no:/volume2/backup";
# fsType = "nfs"; fsType = "nfs";
# options = [ options = [
# "defaults" "defaults"
# "noatime" "noatime"
# "rw" "rw"
# "nfsvers=3" "nfsvers=3"
# ]; ];
# }; };
# }; };
} }

View File

@ -7,7 +7,7 @@
users.users.${config.services.jellyfin.user}.extraGroups = [ "video" "render" ]; users.users.${config.services.jellyfin.user}.extraGroups = [ "video" "render" ];
systemd.services.jellyfin.serviceConfig = { systemd.services.jellyfin.serviceConfig = {
DeviceAllow = lib.mkForce [ "/dev/dri/card0" "/dev/dri/card1" ]; DeviceAllow = lib.mkForce [ "/dev/dri/card0" ];
}; };
services.nginx.virtualHosts."jellyfin.home.feal.no" = { services.nginx.virtualHosts."jellyfin.home.feal.no" = {