mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 04:07:28 +01:00
Compare commits
3 Commits
c49fc1fb4d
...
f683a5dce6
Author | SHA1 | Date | |
---|---|---|---|
f683a5dce6 | |||
9465c9bb52 | |||
12773b8c62 |
@ -53,9 +53,10 @@
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
open = true;
|
||||
};
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
hardware.graphics.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,23 +11,22 @@
|
||||
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" ];
|
||||
DeviceAllow = lib.mkForce [ "/dev/dri/card0" "/dev/dri/card1" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."jellyfin.home.feal.no" = {
|
||||
|
Loading…
Reference in New Issue
Block a user