mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 12:07:29 +01:00
Compare commits
No commits in common. "f683a5dce6e5a85fa7231bb1fb5658b9240df9ed" and "c49fc1fb4d738ff1a5bded2eb77661a4ba5d05c5" have entirely different histories.
f683a5dce6
...
c49fc1fb4d
@ -53,10 +53,9 @@
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
open = true;
|
||||
};
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
hardware.opengl.enable = true;
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
@ -16,6 +16,6 @@
|
||||
# '';
|
||||
# };
|
||||
|
||||
# networking.firewall.allowedTCPPorts = [ 111 2049 20048 ];
|
||||
# networking.firewall.allowedUDPPorts = [ 111 20048];
|
||||
networking.firewall.allowedTCPPorts = [ 111 2049 20048 ];
|
||||
networking.firewall.allowedUDPPorts = [ 111 20048];
|
||||
}
|
||||
|
@ -11,22 +11,23 @@
|
||||
requestEncryptionCredentials = false;
|
||||
};
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
};
|
||||
services.zfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "Wed *-*-8..14 00:00:00";
|
||||
};
|
||||
|
||||
# fileSystems = {
|
||||
# "/mnt/feal-syn1/backup" = {
|
||||
# device = "feal-syn1.home.feal.no:/volume2/backup";
|
||||
# fsType = "nfs";
|
||||
# options = [
|
||||
# "defaults"
|
||||
# "noatime"
|
||||
# "rw"
|
||||
# "nfsvers=3"
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
fileSystems = {
|
||||
"/mnt/feal-syn1/backup" = {
|
||||
device = "feal-syn1.home.feal.no:/volume2/backup";
|
||||
fsType = "nfs";
|
||||
options = [
|
||||
"defaults"
|
||||
"noatime"
|
||||
"rw"
|
||||
"nfsvers=3"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
users.users.${config.services.jellyfin.user}.extraGroups = [ "video" "render" ];
|
||||
|
||||
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" = {
|
||||
|
Loading…
Reference in New Issue
Block a user