Compare commits
2 Commits
23b9ddcbdd
...
2b8f9c4ae7
Author | SHA1 | Date | |
---|---|---|---|
2b8f9c4ae7 | |||
37cdd6e81d |
@ -21,7 +21,20 @@
|
|||||||
fileSystems."/mnt/library" = {
|
fileSystems."/mnt/library" = {
|
||||||
device = "library.mesh.vimium.net:/mnt/library";
|
device = "library.mesh.vimium.net:/mnt/library";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
options = [ "nfsvers=4.2" "soft" "nocto" "ro" "x-systemd.automount" "noauto" ];
|
options = [
|
||||||
|
"nfsvers=4.2"
|
||||||
|
"bg"
|
||||||
|
"intr"
|
||||||
|
"soft"
|
||||||
|
"timeo=5"
|
||||||
|
"retrans=5"
|
||||||
|
"actimeo=5"
|
||||||
|
"retry=5"
|
||||||
|
"nocto"
|
||||||
|
"ro"
|
||||||
|
"x-systemd.automount"
|
||||||
|
"noauto"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
@ -32,6 +32,9 @@ in {
|
|||||||
description = "Reload snd_usb_audio kernel module";
|
description = "Reload snd_usb_audio kernel module";
|
||||||
wantedBy = [ "sound.target" ];
|
wantedBy = [ "sound.target" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
|
path = with pkgs; [
|
||||||
|
kmod
|
||||||
|
];
|
||||||
script = ''
|
script = ''
|
||||||
rmmod snd_usb_audio
|
rmmod snd_usb_audio
|
||||||
insmod /run/booted-system/kernel-modules/lib/modules/$(uname -r)/extra/snd-usb-audio.ko.xz
|
insmod /run/booted-system/kernel-modules/lib/modules/$(uname -r)/extra/snd-usb-audio.ko.xz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user