uhu
This commit is contained in:
parent
fd89ae70ab
commit
59d637b1a5
2 changed files with 95 additions and 95 deletions
|
|
@ -56,9 +56,9 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
# THE FINALS audio borked
|
# THE FINALS audio borked
|
||||||
# services.pipewire.enable = !if_desktop;
|
services.pipewire.enable = !if_desktop;
|
||||||
# hardware.pulseaudio.enable = if_desktop;
|
hardware.pulseaudio.enable = if_desktop;
|
||||||
# hardware.pulseaudio.support32Bit = if_desktop;
|
hardware.pulseaudio.support32Bit = if_desktop;
|
||||||
services.pipewire.extraConfig = {
|
services.pipewire.extraConfig = {
|
||||||
pipewire."99-low-latency" = {
|
pipewire."99-low-latency" = {
|
||||||
context.properties = {
|
context.properties = {
|
||||||
|
|
|
||||||
|
|
@ -1,95 +1,95 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
age.secrets.uwuraid.file = ../secrets/uwuraid.age;
|
age.secrets.uwuraid.file = ../secrets/uwuraid.age;
|
||||||
systemd.mounts = let
|
# systemd.mounts = let
|
||||||
opts = {
|
# opts = {
|
||||||
type = "cifs";
|
# type = "cifs";
|
||||||
mountConfig = {Options = "users,noauto,credentials=${config.age.secrets.uwuraid.path},noatime,uid=1000,gid=100";};
|
# mountConfig = {Options = "x-systemd.automount,users,noauto,credentials=${config.age.secrets.uwuraid.path},noatime,uid=1000,gid=100";};
|
||||||
};
|
# };
|
||||||
in [
|
# in [
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/anime";
|
# what = "//100.97.47.81/anime";
|
||||||
where = "/mnt/uwuraid/anime";
|
# where = "/mnt/uwuraid/anime";
|
||||||
})
|
# })
|
||||||
# (opts
|
# # (opts
|
||||||
# // {
|
# # // {
|
||||||
# what = "//100.97.47.81/appdata";
|
# # what = "//100.97.47.81/appdata";
|
||||||
# where = "/mnt/uwuraid/appdata";
|
# # where = "/mnt/uwuraid/appdata";
|
||||||
# })
|
# # })
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/backup";
|
# what = "//100.97.47.81/backup";
|
||||||
where = "/mnt/uwuraid/backup";
|
# where = "/mnt/uwuraid/backup";
|
||||||
})
|
# })
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/everything";
|
# what = "//100.97.47.81/everything";
|
||||||
where = "/mnt/uwuraid/everything";
|
# where = "/mnt/uwuraid/everything";
|
||||||
})
|
# })
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/games";
|
# what = "//100.97.47.81/games";
|
||||||
where = "/mnt/uwuraid/games";
|
# where = "/mnt/uwuraid/games";
|
||||||
})
|
# })
|
||||||
# (opts
|
# # (opts
|
||||||
# // {
|
# # // {
|
||||||
# what = "//100.97.47.81/isos";
|
# # what = "//100.97.47.81/isos";
|
||||||
# where = "/mnt/uwuraid/isos";
|
# # where = "/mnt/uwuraid/isos";
|
||||||
# })
|
# # })
|
||||||
# (opts
|
# # (opts
|
||||||
# // {
|
# # // {
|
||||||
# what = "//100.97.47.81/jellyfin";
|
# # what = "//100.97.47.81/jellyfin";
|
||||||
# where = "/mnt/uwuraid/jellyfin";
|
# # where = "/mnt/uwuraid/jellyfin";
|
||||||
# })
|
# # })
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/movies";
|
# what = "//100.97.47.81/movies";
|
||||||
where = "/mnt/uwuraid/movies";
|
# where = "/mnt/uwuraid/movies";
|
||||||
})
|
# })
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/music";
|
# what = "//100.97.47.81/music";
|
||||||
where = "/mnt/uwuraid/music";
|
# where = "/mnt/uwuraid/music";
|
||||||
})
|
# })
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/photos";
|
# what = "//100.97.47.81/photos";
|
||||||
where = "/mnt/uwuraid/photos";
|
# where = "/mnt/uwuraid/photos";
|
||||||
})
|
# })
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/syncthing";
|
# what = "//100.97.47.81/syncthing";
|
||||||
where = "/mnt/uwuraid/syncthing";
|
# where = "/mnt/uwuraid/syncthing";
|
||||||
})
|
# })
|
||||||
# (opts
|
# # (opts
|
||||||
# // {
|
# # // {
|
||||||
# what = "//100.97.47.81/television";
|
# # what = "//100.97.47.81/television";
|
||||||
# where = "/mnt/uwuraid/television";
|
# # where = "/mnt/uwuraid/television";
|
||||||
# })
|
# # })
|
||||||
(opts
|
# (opts
|
||||||
// {
|
# // {
|
||||||
what = "//100.97.47.81/virginia";
|
# what = "//100.97.47.81/virginia";
|
||||||
where = "/mnt/uwuraid/virginia";
|
# where = "/mnt/uwuraid/virginia";
|
||||||
})
|
# })
|
||||||
];
|
# ];
|
||||||
systemd.automounts = let
|
# systemd.automounts = let
|
||||||
opts = {
|
# opts = {
|
||||||
wantedBy = ["multi-user.target"];
|
# wantedBy = ["multi-user.target"];
|
||||||
automountConfig = {TimeoutIdleSec = "60";};
|
# automountConfig = {TimeoutIdleSec = "60";};
|
||||||
};
|
# };
|
||||||
in [
|
# in [
|
||||||
(opts // {where = "/mnt/uwuraid/anime";})
|
# (opts // {where = "/mnt/uwuraid/anime";})
|
||||||
# (opts // {where = "/mnt/uwuraid/appdata";})
|
# # (opts // {where = "/mnt/uwuraid/appdata";})
|
||||||
(opts // {where = "/mnt/uwuraid/backup";})
|
# (opts // {where = "/mnt/uwuraid/backup";})
|
||||||
(opts // {where = "/mnt/uwuraid/everything";})
|
# (opts // {where = "/mnt/uwuraid/everything";})
|
||||||
(opts // {where = "/mnt/uwuraid/games";})
|
# (opts // {where = "/mnt/uwuraid/games";})
|
||||||
# (opts // {where = "/mnt/uwuraid/isos";})
|
# # (opts // {where = "/mnt/uwuraid/isos";})
|
||||||
# (opts // { where = "/mnt/uwuraid/jellyfin"; })
|
# # (opts // { where = "/mnt/uwuraid/jellyfin"; })
|
||||||
(opts // {where = "/mnt/uwuraid/movies";})
|
# (opts // {where = "/mnt/uwuraid/movies";})
|
||||||
(opts // {where = "/mnt/uwuraid/music";})
|
# (opts // {where = "/mnt/uwuraid/music";})
|
||||||
(opts // {where = "/mnt/uwuraid/photos";})
|
# (opts // {where = "/mnt/uwuraid/photos";})
|
||||||
(opts // {where = "/mnt/uwuraid/syncthing";})
|
# (opts // {where = "/mnt/uwuraid/syncthing";})
|
||||||
(opts // {where = "/mnt/uwuraid/virginia";})
|
# (opts // {where = "/mnt/uwuraid/virginia";})
|
||||||
# (opts // {where = "/mnt/uwuraid/television";})
|
# # (opts // {where = "/mnt/uwuraid/television";})
|
||||||
];
|
# ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue