From f29273be227b18ef477175b3a4cf7070032f7f2b Mon Sep 17 00:00:00 2001 From: Jimbo Date: Wed, 9 Oct 2024 03:36:08 -0400 Subject: [PATCH] What a clusterfuck --- .gitattributes | 2 +- extras/overlays.nix | 16 -- extras/pkgs/default.nix | 4 - extras/secrets-template.nix | 72 ------ extras/secrets.nix | Bin 3026 -> 0 bytes flake.lock | 219 +++++++++++++++++- flake.nix | 46 ++-- home/modules/default.nix | 6 - home/modules/overlays/default.nix | 8 - home/pc.nix | 10 - home/programs/gaming/emulators/default.nix | 16 -- home/programs/gaming/general/default.nix | 14 -- home/programs/gaming/xash3d/default.nix | 12 - home/programs/misc/avtools/default.nix | 19 -- home/programs/misc/chat/default.nix | 12 - home/programs/misc/general/default.nix | 17 -- home/programs/misc/headless/default.nix | 19 -- home/programs/misc/production/default.nix | 15 -- home/programs/misc/remote-desktop/default.nix | 12 - home/programs/misc/school/default.nix | 14 -- home/server.nix | 11 - hosts/JimDesktop/configuration.nix | 23 -- hosts/JimDesktop/home.nix | 26 --- hosts/JimLenovo/configuration.nix | 45 ---- hosts/JimLenovo/hardware-configuration.nix | 47 ---- hosts/JimLenovo/home.nix | 17 -- hosts/JimPine/configuration.nix | 49 ---- hosts/JimPine/home.nix | 21 -- hosts/JimServer/configuration.nix | 20 -- hosts/JimServer/home.nix | 6 - hosts/JimTerminal/home.nix | 14 -- {home => modules/home}/default.nix | 4 +- .../home}/files/assets/user-icon.png | Bin .../home}/files/assets/wallpapers/1.png | Bin .../home}/files/assets/wallpapers/2.png | Bin .../home}/files/assets/wallpapers/3.png | Bin .../home}/files/assets/wallpapers/lock.png | Bin .../home}/files/default.nix | 0 modules/home/programs/default.nix | 8 + .../home/programs/gui}/default.nix | 11 +- .../gui}/easyeffects/JimHeadphones.json | 0 .../programs/gui}/easyeffects/default.nix | 3 +- .../home/programs/gui}/foot/default.nix | 4 +- .../home/programs/gui}/librewolf/default.nix | 3 +- .../home/programs/gui}/mako/default.nix | 3 +- .../home/programs/gui}/mangohud/default.nix | 4 +- .../home/programs/gui}/mpv/default.nix | 1 + .../home/programs/gui}/pcmanfm-qt/default.nix | 3 +- .../home/programs/gui}/rofi/default.nix | 3 +- .../home/programs/misc/avtools/default.nix | 14 ++ .../home}/programs/misc/avtools/obs/obs.nix | 3 +- modules/home/programs/misc/chat/default.nix | 7 + .../home}/programs/misc/default.nix | 5 +- .../home/programs/misc}/gaming/default.nix | 3 +- .../misc/gaming/emulators/default.nix | 11 + .../misc/gaming/launchers/default.nix | 9 + .../programs/misc/gaming/xash3d/default.nix | 6 + .../home/programs/misc/general/default.nix | 12 + .../home/programs/misc/headless/default.nix | 14 ++ .../home/programs/misc/production/default.nix | 10 + .../programs/misc/remote-desktop/default.nix | 7 + modules/home/programs/misc/school/default.nix | 9 + modules/home/programs/terminal/default.nix | 11 + .../programs/terminal}/fastfetch/default.nix | 3 +- .../home/programs/terminal}/git/git.nix | 3 +- .../programs/terminal}/ncmpcpp/default.nix | 3 +- .../home/programs/terminal}/neovim/neovim.nix | 3 +- .../programs/terminal}/ranger/default.nix | 4 +- .../home/programs/terminal}/tmux/default.nix | 4 +- .../home}/settings/dconf/default.nix | 3 +- .../home}/settings/default.nix | 1 + .../home}/settings/gtk/default.nix | 3 +- .../home}/settings/xdg/default.nix | 3 +- .../home}/sway/autostart/default.nix | 3 +- {home => modules/home}/sway/default.nix | 3 +- .../home}/sway/hardware/default.nix | 3 +- {home => modules/home}/sway/hotkeys/README.md | 0 .../home}/sway/hotkeys/default.nix | 3 +- modules/home/sway/programs/default.nix | 14 ++ {home => modules/home}/sway/rules/default.nix | 3 +- .../home}/sway/swayfx/default.nix | 4 +- .../home}/sway/swaylock/default.nix | 3 +- .../home}/sway/swayshot/default.nix | 3 +- .../home}/sway/swayshot/swappy/default.nix | 3 +- {home => modules/home}/sway/theme/default.nix | 3 +- .../home}/sway/waybar/default.nix | 3 +- {home => modules/home}/users/default.nix | 3 +- .../home}/users/jimbo/default.nix | 3 +- {home => modules/home}/utils/default.nix | 3 +- .../home}/utils/gnome-keyring/default.nix | 3 +- .../home}/utils/udiskie/default.nix | 3 +- {home => modules/home}/utils/zsh/default.nix | 3 +- .../system}/accounts/default.nix | 0 .../system}/accounts/groups/default.nix | 3 +- .../accounts/groups/nfsShare/default.nix | 3 +- .../system}/accounts/users/default.nix | 3 +- .../system}/accounts/users/jimbo/default.nix | 3 +- .../accounts/users/liquidsoap/default.nix | 4 +- .../accounts/users/nextcloud/default.nix | 3 +- .../system}/accounts/users/nginx/default.nix | 2 +- {system => modules/system}/default.nix | 23 +- modules/system/desktop/default.nix | 8 + .../system/desktop}/qt/default.nix | 3 +- .../system/desktop}/sway/default.nix | 4 +- .../system/desktop}/sway/greetd/default.nix | 6 +- modules/system/desktop/wayland/default.nix | 13 ++ .../system/devices}/bluetooth/default.nix | 5 +- .../system/devices}/boot/extlinux/default.nix | 1 + .../devices/boot/lanzaboote/default.nix | 7 + .../system/devices}/boot/systemd/default.nix | 1 + .../system/devices}/default.nix | 3 +- .../system/devices}/filesystems/default.nix | 3 +- .../system/devices}/networking/default.nix | 7 +- .../networking/firewall/pc/default.nix | 9 + .../networking}/firewall/server/default.nix | 3 +- .../networking}/wireguard/client/default.nix | 3 +- .../networking/wireguard/host}/default.nix | 5 +- .../devices/networking/wireless/default.nix | 7 + .../system/devices}/pipewire/default.nix | 3 +- .../system/devices}/printing/default.nix | 3 +- modules/system/devices/udev/default.nix | 7 + .../system/devices/udev/oculus}/default.nix | 10 +- modules/system/devices/udev/pdp/default.nix | 14 ++ .../system/devices}/video/default.nix | 8 +- .../system/devices/video/nouveau/default.nix | 4 + .../system/devices/video/nvidia/default.nix | 10 + .../system}/fonts/default.nix | 5 + .../system/hardware/cyberspark/default.nix | 16 +- .../system/hardware/firefly/default.nix | 4 +- .../system/hardware/shuttleworth/default.nix | 6 - .../system}/programs/appimage/default.nix | 3 +- modules/system/programs/default.nix | 9 + .../system}/programs/gaming/default.nix | 3 +- .../system}/programs/git/default.nix | 3 +- .../system}/programs/git/gpg/default.nix | 4 +- .../programs}/security/apparmor/default.nix | 3 +- .../system/programs}/security/default.nix | 3 +- .../programs}/security/doas/default.nix | 3 +- .../security/gnome-keyring/default.nix | 3 +- .../programs}/security/polkit/default.nix | 3 +- .../system}/services/acme/default.nix | 3 +- .../system}/services/ddclient/default.nix | 4 +- .../system}/services/fileserver/default.nix | 3 +- .../services/fileserver/local/default.nix | 3 +- .../services/fileserver/local/nfs/default.nix | 3 +- .../fileserver/local/samba/default.nix | 3 +- .../services/fileserver/public/default.nix | 3 +- .../fileserver/public/nextcloud/default.nix | 3 +- .../fileserver/public/photoprism/default.nix | 3 +- .../system}/services/forgejo/default.nix | 13 +- .../services/forgejo/nginx/default.nix | 3 +- .../system}/services/icecast/default.nix | 11 +- .../services/icecast/nginx/default.nix | 3 +- .../system}/services/mailserver/default.nix | 3 +- .../services/mailserver/nginx/default.nix | 3 +- .../services/mailserver/roundcube/default.nix | 5 +- .../services/minecraft/common/default.nix | 3 +- .../minecraft/common/essentialsconfig.yml | 0 .../minecraft/common/vcserver.properties | 0 .../system}/services/minecraft/default.nix | 3 +- .../minecraft/servers/blockworld/default.nix | 3 +- .../servers/dewdemolisher/default.nix | 3 +- .../minecraft/servers/johnside/default.nix | 3 +- .../minecraft/servers/roguecraft/default.nix | 3 +- .../minecraft/servers/uberbeta/default.nix | 3 +- .../minecraft/servers/velocity/default.nix | 3 +- .../system/services/misc}/default.nix | 3 +- .../system}/services/mpd/default.nix | 3 +- .../system}/services/mysql/default.nix | 3 +- .../system/services/networkfs}/default.nix | 3 +- .../system}/services/nginx/default.nix | 3 +- modules/system/services/school/default.nix | 4 + .../system}/services/social/default.nix | 3 +- .../system}/services/social/lemmy/default.nix | 3 +- .../services/social/lemmy/nginx/default.nix | 3 +- .../services/social/mastodon/default.nix | 3 +- .../services/social/matrix/default.nix | 3 +- .../social/matrix/element/default.nix | 3 +- .../social/matrix/element/nginx/default.nix | 3 +- .../social/matrix/synapse/coturn/default.nix | 3 +- .../matrix/synapse/coturn/nginx/default.nix | 3 +- .../social/matrix/synapse/default.nix | 5 +- .../social/matrix/synapse/nginx/default.nix | 3 +- .../matrix/synapse/slidingsync/default.nix | 3 +- .../services/social/owncast/default.nix | 3 +- .../services/social/owncast/nginx/default.nix | 3 +- .../services/social/pixelfed/default.nix | 3 +- .../system}/services/ssh/default.nix | 3 +- .../system}/services/ssh/fail2ban/default.nix | 3 +- .../system}/services/sunshine/default.nix | 3 +- .../system}/services/transmission/default.nix | 3 +- .../services/transmission/nginx/default.nix | 3 +- .../system}/services/vaultwarden/default.nix | 3 +- .../services/vaultwarden/nginx/default.nix | 3 +- .../services/virtualization/default.nix | 4 +- .../services/virtualization/qemu/default.nix | 3 +- .../virtualization/waydroid/default.nix | 4 + overlays/mpv/default.nix | 10 + packages/default.nix | 5 + .../hlsdk.nix => packages/hlsdk/default.nix | 0 .../xash3d}/change-zip-date.patch | 0 .../xash3d.nix => packages/xash3d/default.nix | 0 .../modules/networking/wireless/default.nix | 12 - system/modules/overlays/default.nix | 7 - system/modules/video/nouveau/default.nix | 9 - system/modules/video/nvidia/default.nix | 15 -- system/pc.nix | 21 -- system/programs/default.nix | 11 - system/programs/school/default.nix | 11 - system/programs/theming/default.nix | 6 - system/programs/wayland/default.nix | 25 -- system/server.nix | 34 --- system/services/firewall/pc/default.nix | 12 - .../services/garbage-collection/default.nix | 7 - .../virtualization/waydroid/default.nix | 9 - extras/cmd.nix => variables/cmd/default.nix | 3 +- .../displays/default.nix | 3 +- extras/ips.nix => variables/ips/default.nix | 3 +- extras/look.nix => variables/look/default.nix | 3 +- variables/secrets_/default.nix | Bin 0 -> 3026 bytes .../workspaces/default.nix | 3 +- 221 files changed, 779 insertions(+), 956 deletions(-) delete mode 100644 extras/overlays.nix delete mode 100644 extras/pkgs/default.nix delete mode 100644 extras/secrets-template.nix delete mode 100644 extras/secrets.nix delete mode 100644 home/modules/default.nix delete mode 100644 home/modules/overlays/default.nix delete mode 100644 home/pc.nix delete mode 100644 home/programs/gaming/emulators/default.nix delete mode 100644 home/programs/gaming/general/default.nix delete mode 100644 home/programs/gaming/xash3d/default.nix delete mode 100644 home/programs/misc/avtools/default.nix delete mode 100644 home/programs/misc/chat/default.nix delete mode 100644 home/programs/misc/general/default.nix delete mode 100644 home/programs/misc/headless/default.nix delete mode 100644 home/programs/misc/production/default.nix delete mode 100644 home/programs/misc/remote-desktop/default.nix delete mode 100644 home/programs/misc/school/default.nix delete mode 100644 home/server.nix delete mode 100644 hosts/JimDesktop/configuration.nix delete mode 100644 hosts/JimDesktop/home.nix delete mode 100644 hosts/JimLenovo/configuration.nix delete mode 100644 hosts/JimLenovo/hardware-configuration.nix delete mode 100644 hosts/JimLenovo/home.nix delete mode 100644 hosts/JimPine/configuration.nix delete mode 100644 hosts/JimPine/home.nix delete mode 100644 hosts/JimServer/configuration.nix delete mode 100644 hosts/JimServer/home.nix delete mode 100644 hosts/JimTerminal/home.nix rename {home => modules/home}/default.nix (85%) rename {home/modules => modules/home}/files/assets/user-icon.png (100%) rename {home/modules => modules/home}/files/assets/wallpapers/1.png (100%) rename {home/modules => modules/home}/files/assets/wallpapers/2.png (100%) rename {home/modules => modules/home}/files/assets/wallpapers/3.png (100%) rename {home/modules => modules/home}/files/assets/wallpapers/lock.png (100%) rename {home/modules => modules/home}/files/default.nix (100%) create mode 100644 modules/home/programs/default.nix rename {home/programs => modules/home/programs/gui}/default.nix (53%) rename {home/programs => modules/home/programs/gui}/easyeffects/JimHeadphones.json (100%) rename {home/programs => modules/home/programs/gui}/easyeffects/default.nix (91%) rename {home/programs => modules/home/programs/gui}/foot/default.nix (94%) rename {home/programs => modules/home/programs/gui}/librewolf/default.nix (99%) rename {home/programs => modules/home/programs/gui}/mako/default.nix (98%) rename {home/programs => modules/home/programs/gui}/mangohud/default.nix (93%) rename {home/programs => modules/home/programs/gui}/mpv/default.nix (93%) rename {home/programs => modules/home/programs/gui}/pcmanfm-qt/default.nix (98%) rename {home/programs => modules/home/programs/gui}/rofi/default.nix (99%) create mode 100644 modules/home/programs/misc/avtools/default.nix rename {home => modules/home}/programs/misc/avtools/obs/obs.nix (89%) create mode 100644 modules/home/programs/misc/chat/default.nix rename {home => modules/home}/programs/misc/default.nix (76%) rename {home/programs => modules/home/programs/misc}/gaming/default.nix (67%) create mode 100644 modules/home/programs/misc/gaming/emulators/default.nix create mode 100644 modules/home/programs/misc/gaming/launchers/default.nix create mode 100644 modules/home/programs/misc/gaming/xash3d/default.nix create mode 100644 modules/home/programs/misc/general/default.nix create mode 100644 modules/home/programs/misc/headless/default.nix create mode 100644 modules/home/programs/misc/production/default.nix create mode 100644 modules/home/programs/misc/remote-desktop/default.nix create mode 100644 modules/home/programs/misc/school/default.nix create mode 100644 modules/home/programs/terminal/default.nix rename {home/programs => modules/home/programs/terminal}/fastfetch/default.nix (99%) rename {home/programs => modules/home/programs/terminal}/git/git.nix (85%) rename {home/programs => modules/home/programs/terminal}/ncmpcpp/default.nix (94%) rename {home/programs => modules/home/programs/terminal}/neovim/neovim.nix (99%) rename {home/programs => modules/home/programs/terminal}/ranger/default.nix (98%) rename {home/programs => modules/home/programs/terminal}/tmux/default.nix (96%) rename {home/modules => modules/home}/settings/dconf/default.nix (95%) rename {home/modules => modules/home}/settings/default.nix (85%) rename {home/modules => modules/home}/settings/gtk/default.nix (98%) rename {home/modules => modules/home}/settings/xdg/default.nix (95%) rename {home => modules/home}/sway/autostart/default.nix (98%) rename {home => modules/home}/sway/default.nix (96%) rename {home => modules/home}/sway/hardware/default.nix (97%) rename {home => modules/home}/sway/hotkeys/README.md (100%) rename {home => modules/home}/sway/hotkeys/default.nix (99%) create mode 100644 modules/home/sway/programs/default.nix rename {home => modules/home}/sway/rules/default.nix (99%) rename {home => modules/home}/sway/swayfx/default.nix (83%) rename {home => modules/home}/sway/swaylock/default.nix (98%) rename {home => modules/home}/sway/swayshot/default.nix (98%) rename {home => modules/home}/sway/swayshot/swappy/default.nix (92%) rename {home => modules/home}/sway/theme/default.nix (97%) rename {home => modules/home}/sway/waybar/default.nix (99%) rename {home => modules/home}/users/default.nix (75%) rename {home => modules/home}/users/jimbo/default.nix (95%) rename {home => modules/home}/utils/default.nix (85%) rename {home => modules/home}/utils/gnome-keyring/default.nix (79%) rename {home => modules/home}/utils/udiskie/default.nix (86%) rename {home => modules/home}/utils/zsh/default.nix (98%) rename {system => modules/system}/accounts/default.nix (100%) rename {system => modules/system}/accounts/groups/default.nix (76%) rename {system => modules/system}/accounts/groups/nfsShare/default.nix (74%) rename {system => modules/system}/accounts/users/default.nix (87%) rename {system => modules/system}/accounts/users/jimbo/default.nix (95%) rename {system => modules/system}/accounts/users/liquidsoap/default.nix (62%) rename {system => modules/system}/accounts/users/nextcloud/default.nix (74%) rename {system => modules/system}/accounts/users/nginx/default.nix (77%) rename {system => modules/system}/default.nix (53%) create mode 100644 modules/system/desktop/default.nix rename {system/programs/theming => modules/system/desktop}/qt/default.nix (88%) rename {system/programs => modules/system/desktop}/sway/default.nix (90%) rename {system/programs => modules/system/desktop}/sway/greetd/default.nix (90%) create mode 100644 modules/system/desktop/wayland/default.nix rename {system/modules => modules/system/devices}/bluetooth/default.nix (79%) rename {system/modules => modules/system/devices}/boot/extlinux/default.nix (91%) create mode 100644 modules/system/devices/boot/lanzaboote/default.nix rename {system/modules => modules/system/devices}/boot/systemd/default.nix (90%) rename {system/modules => modules/system/devices}/default.nix (92%) rename {system/modules => modules/system/devices}/filesystems/default.nix (87%) rename {system/modules => modules/system/devices}/networking/default.nix (69%) create mode 100644 modules/system/devices/networking/firewall/pc/default.nix rename {system/services => modules/system/devices/networking}/firewall/server/default.nix (99%) rename {system/services => modules/system/devices/networking}/wireguard/client/default.nix (96%) rename {system/services/wireguard/server => modules/system/devices/networking/wireguard/host}/default.nix (92%) create mode 100644 modules/system/devices/networking/wireless/default.nix rename {system/modules => modules/system/devices}/pipewire/default.nix (96%) rename {system/modules => modules/system/devices}/printing/default.nix (94%) create mode 100644 modules/system/devices/udev/default.nix rename {system/modules/udev => modules/system/devices/udev/oculus}/default.nix (53%) create mode 100644 modules/system/devices/udev/pdp/default.nix rename {system/modules => modules/system/devices}/video/default.nix (75%) create mode 100644 modules/system/devices/video/nouveau/default.nix create mode 100644 modules/system/devices/video/nvidia/default.nix rename {system/programs/theming => modules/system}/fonts/default.nix (71%) rename hosts/JimServer/hardware-configuration.nix => modules/system/hardware/cyberspark/default.nix (92%) rename hosts/JimDesktop/hardware-configuration.nix => modules/system/hardware/firefly/default.nix (96%) rename hosts/JimPine/hardware-configuration.nix => modules/system/hardware/shuttleworth/default.nix (84%) rename {system => modules/system}/programs/appimage/default.nix (86%) create mode 100644 modules/system/programs/default.nix rename {system => modules/system}/programs/gaming/default.nix (88%) rename {system => modules/system}/programs/git/default.nix (89%) rename {system => modules/system}/programs/git/gpg/default.nix (88%) rename {system/modules => modules/system/programs}/security/apparmor/default.nix (77%) rename {system/modules => modules/system/programs}/security/default.nix (87%) rename {system/modules => modules/system/programs}/security/doas/default.nix (95%) rename {system/modules => modules/system/programs}/security/gnome-keyring/default.nix (81%) rename {system/modules => modules/system/programs}/security/polkit/default.nix (86%) rename {system => modules/system}/services/acme/default.nix (93%) rename {system => modules/system}/services/ddclient/default.nix (91%) rename {system => modules/system}/services/fileserver/default.nix (80%) rename {system => modules/system}/services/fileserver/local/default.nix (79%) rename {system => modules/system}/services/fileserver/local/nfs/default.nix (91%) rename {system => modules/system}/services/fileserver/local/samba/default.nix (97%) rename {system => modules/system}/services/fileserver/public/default.nix (83%) rename {system => modules/system}/services/fileserver/public/nextcloud/default.nix (98%) rename {system => modules/system}/services/fileserver/public/photoprism/default.nix (97%) rename {system => modules/system}/services/forgejo/default.nix (82%) rename {system => modules/system}/services/forgejo/nginx/default.nix (91%) rename {system => modules/system}/services/icecast/default.nix (93%) rename {system => modules/system}/services/icecast/nginx/default.nix (91%) rename {system => modules/system}/services/mailserver/default.nix (98%) rename {system => modules/system}/services/mailserver/nginx/default.nix (88%) rename {system => modules/system}/services/mailserver/roundcube/default.nix (66%) rename {system => modules/system}/services/minecraft/common/default.nix (99%) rename {system => modules/system}/services/minecraft/common/essentialsconfig.yml (100%) rename {system => modules/system}/services/minecraft/common/vcserver.properties (100%) rename {system => modules/system}/services/minecraft/default.nix (94%) rename {system => modules/system}/services/minecraft/servers/blockworld/default.nix (96%) rename {system => modules/system}/services/minecraft/servers/dewdemolisher/default.nix (96%) rename {system => modules/system}/services/minecraft/servers/johnside/default.nix (98%) rename {system => modules/system}/services/minecraft/servers/roguecraft/default.nix (98%) rename {system => modules/system}/services/minecraft/servers/uberbeta/default.nix (97%) rename {system => modules/system}/services/minecraft/servers/velocity/default.nix (99%) rename {system/services/misc/server => modules/system/services/misc}/default.nix (89%) rename {system => modules/system}/services/mpd/default.nix (94%) rename {system => modules/system}/services/mysql/default.nix (96%) rename {system/services/misc/pc => modules/system/services/networkfs}/default.nix (82%) rename {system => modules/system}/services/nginx/default.nix (98%) create mode 100644 modules/system/services/school/default.nix rename {system => modules/system}/services/social/default.nix (89%) rename {system => modules/system}/services/social/lemmy/default.nix (96%) rename {system => modules/system}/services/social/lemmy/nginx/default.nix (86%) rename {system => modules/system}/services/social/mastodon/default.nix (95%) rename {system => modules/system}/services/social/matrix/default.nix (81%) rename {system => modules/system}/services/social/matrix/element/default.nix (96%) rename {system => modules/system}/services/social/matrix/element/nginx/default.nix (85%) rename {system => modules/system}/services/social/matrix/synapse/coturn/default.nix (97%) rename {system => modules/system}/services/social/matrix/synapse/coturn/nginx/default.nix (90%) rename {system => modules/system}/services/social/matrix/synapse/default.nix (98%) rename {system => modules/system}/services/social/matrix/synapse/nginx/default.nix (95%) rename {system => modules/system}/services/social/matrix/synapse/slidingsync/default.nix (92%) rename {system => modules/system}/services/social/owncast/default.nix (87%) rename {system => modules/system}/services/social/owncast/nginx/default.nix (91%) rename {system => modules/system}/services/social/pixelfed/default.nix (97%) rename {system => modules/system}/services/ssh/default.nix (95%) rename {system => modules/system}/services/ssh/fail2ban/default.nix (87%) rename {system => modules/system}/services/sunshine/default.nix (90%) rename {system => modules/system}/services/transmission/default.nix (91%) rename {system => modules/system}/services/transmission/nginx/default.nix (91%) rename {system => modules/system}/services/vaultwarden/default.nix (97%) rename {system => modules/system}/services/vaultwarden/nginx/default.nix (91%) rename {system => modules/system}/services/virtualization/default.nix (55%) rename {system => modules/system}/services/virtualization/qemu/default.nix (96%) create mode 100644 modules/system/services/virtualization/waydroid/default.nix create mode 100644 overlays/mpv/default.nix create mode 100644 packages/default.nix rename extras/pkgs/xash/hlsdk.nix => packages/hlsdk/default.nix (100%) rename {extras/pkgs/xash => packages/xash3d}/change-zip-date.patch (100%) rename extras/pkgs/xash/xash3d.nix => packages/xash3d/default.nix (100%) delete mode 100644 system/modules/networking/wireless/default.nix delete mode 100644 system/modules/overlays/default.nix delete mode 100644 system/modules/video/nouveau/default.nix delete mode 100644 system/modules/video/nvidia/default.nix delete mode 100644 system/pc.nix delete mode 100644 system/programs/default.nix delete mode 100644 system/programs/school/default.nix delete mode 100644 system/programs/theming/default.nix delete mode 100644 system/programs/wayland/default.nix delete mode 100644 system/server.nix delete mode 100644 system/services/firewall/pc/default.nix delete mode 100644 system/services/garbage-collection/default.nix delete mode 100644 system/services/virtualization/waydroid/default.nix rename extras/cmd.nix => variables/cmd/default.nix (82%) rename extras/displays.nix => variables/displays/default.nix (85%) rename extras/ips.nix => variables/ips/default.nix (92%) rename extras/look.nix => variables/look/default.nix (97%) create mode 100644 variables/secrets_/default.nix rename extras/workspaces.nix => variables/workspaces/default.nix (96%) diff --git a/.gitattributes b/.gitattributes index 8aafc71..c028012 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -extras/secrets.nix filter=git-crypt diff=git-crypt +variables/secrets/** filter=git-crypt diff=git-crypt diff --git a/extras/overlays.nix b/extras/overlays.nix deleted file mode 100644 index a278a90..0000000 --- a/extras/overlays.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ inputs, ... }: { - additions = final: _prev: import ./pkgs {pkgs = final;}; - - selfsuper = (self: super: { - mpv = super.mpv.override { - scripts = with self.mpvScripts; [mpris sponsorblock thumbnail]; - }; - }); - - finalprev = (final: prev: { - unstable = import inputs.nixpkgs-unstable { - system = final.system; - config.allowUnfree = true; - }; - }); -} diff --git a/extras/pkgs/default.nix b/extras/pkgs/default.nix deleted file mode 100644 index 4bff294..0000000 --- a/extras/pkgs/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ pkgs, ... }: { - xash3d = pkgs.callPackage ./xash/xash3d.nix {}; - hlsdk = pkgs.callPackage ./xash/hlsdk.nix {}; -} diff --git a/extras/secrets-template.nix b/extras/secrets-template.nix deleted file mode 100644 index 743d577..0000000 --- a/extras/secrets-template.nix +++ /dev/null @@ -1,72 +0,0 @@ -{ ... }: { - # Define domains - jimDomain = ""; - - # User account passwords, generated with 'mkpasswd -m sha-512' - jimboAccPass = ""; - - # External emails - jimUsername = ""; - jimEmail = ""; - - # SSH Keys - jimKeys = [ - "" - "" - ]; - - # System timezone in standard timezone identifier format - timeZone = ""; - - # Cloudflare API key - flareApiKey = ""; - - # Wireguard keys, generated with the wg command - wgServerPriv = ""; - wgServerPub = ""; - wgClientPriv = ""; - wgClientPub = ""; - wgPixel9Pub = ""; - wgOraclePub = ""; - - # Icecast, plaintext - castAdminPass = ""; - castSourcePass = ""; - - # Photoprism, plaintext - prismAdminPass = ""; - - # Matrix secrets - matrixSecret = ""; - discordBotID = ""; - discordBotToken = ""; - - # Pixelfed secret, must be 32 characters long - pixelfedKey = '' - APP_KEY= - ''; - - # Transmission credentials, plaintext - transmissionCredFile = '' - { - "rpc-username": "", - "rpc-password": "" - } - ''; - - # Email cleartext passwords - noreplyPassword = ""; - - # Email account hashes, generated with 'mkpasswd -m bcrypt' - noreplyMailHash = ""; - jimboMailHash = ""; - lunaMailHash = ""; - freecornMailHash = ""; - tinyMailHash = ""; - - # IPs - jimIP1 = ""; - jimIP2 = ""; - lunaIP = ""; - cornIP = ""; -} diff --git a/extras/secrets.nix b/extras/secrets.nix deleted file mode 100644 index 0bbdb5c60ab994e05a0b8c03eb7e67fb07fe9eaa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3026 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 /dev/null; then - # NVIDIA/AMD variables export LIBVA_DRIVER_NAME=nvidia export GBM_BACKEND=nvidia-drm export __GLX_VENDOR_LIBRARY_NAME=nvidia @@ -14,11 +14,9 @@ : fi - # Sway/Wayland export XDG_CURRENT_DESKTOP=sway export QT_QPA_PLATFORM="wayland;xcb" - # Start Sway sway --unsupported-gpu ''; in { diff --git a/modules/system/desktop/wayland/default.nix b/modules/system/desktop/wayland/default.nix new file mode 100644 index 0000000..7b446ae --- /dev/null +++ b/modules/system/desktop/wayland/default.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: +{ + programs = { + dconf.enable = true; + light.enable = true; + xwayland.enable = true; + }; + + services = { + dbus.enable = true; + tlp.enable = true; + }; +} diff --git a/system/modules/bluetooth/default.nix b/modules/system/devices/bluetooth/default.nix similarity index 79% rename from system/modules/bluetooth/default.nix rename to modules/system/devices/bluetooth/default.nix index 2dcde0b..6b60031 100644 --- a/system/modules/bluetooth/default.nix +++ b/modules/system/devices/bluetooth/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ hardware.bluetooth = { enable = true; settings = { @@ -7,7 +8,7 @@ }; }; - # Enable lingering for Bluetooth + # Lingering helps keep headphones connected systemd.tmpfiles.rules = [ "f /var/lib/systemd/linger/jimbo" ]; diff --git a/system/modules/boot/extlinux/default.nix b/modules/system/devices/boot/extlinux/default.nix similarity index 91% rename from system/modules/boot/extlinux/default.nix rename to modules/system/devices/boot/extlinux/default.nix index bdd0f35..f32c3f8 100644 --- a/system/modules/boot/extlinux/default.nix +++ b/modules/system/devices/boot/extlinux/default.nix @@ -1,3 +1,4 @@ +{ ... }: { boot.loader = { generic-extlinux-compatible.enable = true; diff --git a/modules/system/devices/boot/lanzaboote/default.nix b/modules/system/devices/boot/lanzaboote/default.nix new file mode 100644 index 0000000..7a62227 --- /dev/null +++ b/modules/system/devices/boot/lanzaboote/default.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + boot.lanzaboote = { + enable = true; + pkiBundle = "/etc/secureboot"; + }; +} diff --git a/system/modules/boot/systemd/default.nix b/modules/system/devices/boot/systemd/default.nix similarity index 90% rename from system/modules/boot/systemd/default.nix rename to modules/system/devices/boot/systemd/default.nix index 244ac0b..9eb9f12 100644 --- a/system/modules/boot/systemd/default.nix +++ b/modules/system/devices/boot/systemd/default.nix @@ -1,3 +1,4 @@ +{ ... }: { boot.loader.systemd-boot = { enable = true; diff --git a/system/modules/default.nix b/modules/system/devices/default.nix similarity index 92% rename from system/modules/default.nix rename to modules/system/devices/default.nix index d8038e6..6e6ad7a 100644 --- a/system/modules/default.nix +++ b/modules/system/devices/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./bluetooth ./filesystems diff --git a/system/modules/filesystems/default.nix b/modules/system/devices/filesystems/default.nix similarity index 87% rename from system/modules/filesystems/default.nix rename to modules/system/devices/filesystems/default.nix index f24fd90..522fb9f 100644 --- a/system/modules/filesystems/default.nix +++ b/modules/system/devices/filesystems/default.nix @@ -1,4 +1,5 @@ -{ lib, ... }: { +{ lib, ... }: +{ boot.supportedFilesystems = { ntfs = true; zfs = lib.mkForce false; diff --git a/system/modules/networking/default.nix b/modules/system/devices/networking/default.nix similarity index 69% rename from system/modules/networking/default.nix rename to modules/system/devices/networking/default.nix index c7c5a69..1abbd40 100644 --- a/system/modules/networking/default.nix +++ b/modules/system/devices/networking/default.nix @@ -1,8 +1,5 @@ -{ ... }: { - imports = [ - ./wireless - ]; - +{ ... }: +{ networking = { wireless.enable = false; dhcpcd.enable = true; diff --git a/modules/system/devices/networking/firewall/pc/default.nix b/modules/system/devices/networking/firewall/pc/default.nix new file mode 100644 index 0000000..4d972c9 --- /dev/null +++ b/modules/system/devices/networking/firewall/pc/default.nix @@ -0,0 +1,9 @@ +{ outputs, ... }: +{ + networking.firewall = { + allowPing = false; + extraInputRules = '' + ip saddr { ${outputs.ips.server}, ${outputs.ips.wgSpan}.1 } accept comment "Accept Server" + ''; + }; +} diff --git a/system/services/firewall/server/default.nix b/modules/system/devices/networking/firewall/server/default.nix similarity index 99% rename from system/services/firewall/server/default.nix rename to modules/system/devices/networking/firewall/server/default.nix index 83d5336..9e3e162 100644 --- a/system/services/firewall/server/default.nix +++ b/modules/system/devices/networking/firewall/server/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ # Allow forwarding boot.kernel.sysctl."net.ipv4.ip_forward" = 1; diff --git a/system/services/wireguard/client/default.nix b/modules/system/devices/networking/wireguard/client/default.nix similarity index 96% rename from system/services/wireguard/client/default.nix rename to modules/system/devices/networking/wireguard/client/default.nix index 9a08f57..360bb41 100644 --- a/system/services/wireguard/client/default.nix +++ b/modules/system/devices/networking/wireguard/client/default.nix @@ -1,4 +1,5 @@ -{outputs, ...}: { +{ outputs, ... }: +{ networking.firewall = { allowedUDPPorts = [ 51820 ]; }; diff --git a/system/services/wireguard/server/default.nix b/modules/system/devices/networking/wireguard/host/default.nix similarity index 92% rename from system/services/wireguard/server/default.nix rename to modules/system/devices/networking/wireguard/host/default.nix index 94b215e..2b725da 100644 --- a/system/services/wireguard/server/default.nix +++ b/modules/system/devices/networking/wireguard/host/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ networking = { nat = { enable = true; @@ -14,7 +15,7 @@ "${outputs.ips.wgInt}" = { ips = [ "${outputs.ips.wgSpan}.1/24" ]; listenPort = 51820; - privateKey = outputs.secrets.wgServerPriv; + privateKey = outputs.secrets.wgServerPriv; peers = [ { # Jimbo Pixel 9 publicKey = outputs.secrets.wgPixel9Pub; diff --git a/modules/system/devices/networking/wireless/default.nix b/modules/system/devices/networking/wireless/default.nix new file mode 100644 index 0000000..862db58 --- /dev/null +++ b/modules/system/devices/networking/wireless/default.nix @@ -0,0 +1,7 @@ +{ lib, config, ... }: +{ + networking = { + wireless.iwd.enable = true; + enableB43Firmware = true; + }; +} diff --git a/system/modules/pipewire/default.nix b/modules/system/devices/pipewire/default.nix similarity index 96% rename from system/modules/pipewire/default.nix rename to modules/system/devices/pipewire/default.nix index 2fc5cde..35430c3 100644 --- a/system/modules/pipewire/default.nix +++ b/modules/system/devices/pipewire/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ services = { pipewire = { enable = true; diff --git a/system/modules/printing/default.nix b/modules/system/devices/printing/default.nix similarity index 94% rename from system/modules/printing/default.nix rename to modules/system/devices/printing/default.nix index a6ad026..5c509da 100644 --- a/system/modules/printing/default.nix +++ b/modules/system/devices/printing/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ services = { printing = { enable = true; diff --git a/modules/system/devices/udev/default.nix b/modules/system/devices/udev/default.nix new file mode 100644 index 0000000..3c5941a --- /dev/null +++ b/modules/system/devices/udev/default.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + imports = [ + ./pdp + ./oculus + ]; +} diff --git a/system/modules/udev/default.nix b/modules/system/devices/udev/oculus/default.nix similarity index 53% rename from system/modules/udev/default.nix rename to modules/system/devices/udev/oculus/default.nix index 5d042de..db86902 100644 --- a/system/modules/udev/default.nix +++ b/modules/system/devices/udev/oculus/default.nix @@ -1,11 +1,6 @@ -{ pkgs, ... }: { - # Rules to make PDP controller and Oculus Rift CV1 work +{ pkgs, ... }: +{ services.udev = let - pdpRules = pkgs.writeTextFile { - name = "10-pdp.rules"; - text = ''SUBSYSTEM=="usb", ATTR{idVendor}=="2833", MODE="0666"''; - destination = "/etc/udev/rules.d/10-pdp.rules"; - }; oculusRules = pkgs.writeTextFile { name = "10-oculus.rules"; text = ''KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0184", MODE="0660", TAG+="uaccess"''; @@ -14,7 +9,6 @@ in { packages = [ oculusRules - pdpRules ]; }; } diff --git a/modules/system/devices/udev/pdp/default.nix b/modules/system/devices/udev/pdp/default.nix new file mode 100644 index 0000000..652309f --- /dev/null +++ b/modules/system/devices/udev/pdp/default.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: +{ + services.udev = let + pdpRules = pkgs.writeTextFile { + name = "10-pdp.rules"; + text = ''SUBSYSTEM=="usb", ATTR{idVendor}=="2833", MODE="0666"''; + destination = "/etc/udev/rules.d/10-pdp.rules"; + }; + in { + packages = [ + pdpRules + ]; + }; +} diff --git a/system/modules/video/default.nix b/modules/system/devices/video/default.nix similarity index 75% rename from system/modules/video/default.nix rename to modules/system/devices/video/default.nix index 8e59782..34ef10a 100644 --- a/system/modules/video/default.nix +++ b/modules/system/devices/video/default.nix @@ -1,9 +1,5 @@ -{ pkgs, ... }: { - imports = [ - ./nvidia - ./nouveau - ]; - +{ pkgs, ... }: +{ hardware.opengl = { enable = true; driSupport32Bit = true; diff --git a/modules/system/devices/video/nouveau/default.nix b/modules/system/devices/video/nouveau/default.nix new file mode 100644 index 0000000..41aeb2c --- /dev/null +++ b/modules/system/devices/video/nouveau/default.nix @@ -0,0 +1,4 @@ +{ config, lib, ... }: +{ + services.xserver.videoDrivers = [ "nouveau" ]; +} diff --git a/modules/system/devices/video/nvidia/default.nix b/modules/system/devices/video/nvidia/default.nix new file mode 100644 index 0000000..b50af2d --- /dev/null +++ b/modules/system/devices/video/nvidia/default.nix @@ -0,0 +1,10 @@ +{ pkgs, config, lib, ... }: +{ + services.xserver.videoDrivers = [ "nvidia" ]; + hardware.nvidia = { + modesetting.enable = true; + nvidiaSettings = false; + package = config.boot.kernelPackages.nvidiaPackages.beta; + open = false; + }; +} diff --git a/system/programs/theming/fonts/default.nix b/modules/system/fonts/default.nix similarity index 71% rename from system/programs/theming/fonts/default.nix rename to modules/system/fonts/default.nix index c0a2569..da7080b 100644 --- a/system/programs/theming/fonts/default.nix +++ b/modules/system/fonts/default.nix @@ -16,4 +16,9 @@ "Twitter Color Emoji" ]; }; + + console = { + font = "${pkgs.terminus_font}/share/consolefonts/ter-u22n.psf.gz"; + packages = with pkgs; [ terminus_font ]; + }; } diff --git a/hosts/JimServer/hardware-configuration.nix b/modules/system/hardware/cyberspark/default.nix similarity index 92% rename from hosts/JimServer/hardware-configuration.nix rename to modules/system/hardware/cyberspark/default.nix index 18e5f8f..e112d0c 100644 --- a/hosts/JimServer/hardware-configuration.nix +++ b/modules/system/hardware/cyberspark/default.nix @@ -1,11 +1,9 @@ { config, outputs, lib, pkgs, modulesPath, ... }: - { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - # Set all boot options boot = { blacklistedKernelModules = [ "pcspkr" @@ -24,9 +22,12 @@ "kvm-intel" ]; }; - swraid.mdadmConf = '' - MAILADDR jimbo@${outputs.secrets.jimDomain} - ''; + swraid = { + enable = true; + mdadmConf = '' + MAILADDR jimbo@${outputs.secrets.jimDomain} + ''; + }; }; # Mounting options @@ -102,11 +103,8 @@ { device = "/dev/disk/by-uuid/ec422cad-bf93-4b15-b989-2c807f1073a4"; } ]; - # Enables DHCP on each ethernet and wireless interface. - networking.useDHCP = lib.mkDefault true; - # Hardware settings - boot.swraid.enable = true; + networking.useDHCP = lib.mkDefault true; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; } diff --git a/hosts/JimDesktop/hardware-configuration.nix b/modules/system/hardware/firefly/default.nix similarity index 96% rename from hosts/JimDesktop/hardware-configuration.nix rename to modules/system/hardware/firefly/default.nix index 8dfaf0b..e5a11f5 100644 --- a/hosts/JimDesktop/hardware-configuration.nix +++ b/modules/system/hardware/firefly/default.nix @@ -1,4 +1,5 @@ -{ config, lib, pkgs, outputs, modulesPath, ... }: let +{ config, lib, pkgs, outputs, modulesPath, ... }: +let # Set common boot paramaters commonKernelParams = [ # Nvidia settings @@ -24,7 +25,6 @@ in { # Set all boot options boot = { - # Set a kernel version and load/blacklist drivers kernelPackages = pkgs.unstable.linuxPackages_zen; blacklistedKernelModules = [ "pcspkr" diff --git a/hosts/JimPine/hardware-configuration.nix b/modules/system/hardware/shuttleworth/default.nix similarity index 84% rename from hosts/JimPine/hardware-configuration.nix rename to modules/system/hardware/shuttleworth/default.nix index 6dcf942..2336291 100644 --- a/hosts/JimPine/hardware-configuration.nix +++ b/modules/system/hardware/shuttleworth/default.nix @@ -1,5 +1,4 @@ { config, outputs, lib, pkgs, modulesPath, ... }: - { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; @@ -32,11 +31,6 @@ fsType = "nfs4"; options = ["x-systemd.automount" "_netdev" "nofail" "noauto"]; }; - "/home/jimbo/FreecornNFS" = { - device = "${outputs.secrets.cornIP}:/export/freecornNFS"; - fsType = "nfs4"; - options = ["x-systemd.automount" "_netdev" "nofail" "noauto"]; - }; }; swapDevices = [ diff --git a/system/programs/appimage/default.nix b/modules/system/programs/appimage/default.nix similarity index 86% rename from system/programs/appimage/default.nix rename to modules/system/programs/appimage/default.nix index a7db39a..a890a25 100644 --- a/system/programs/appimage/default.nix +++ b/modules/system/programs/appimage/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ programs.appimage = { enable = true; binfmt = true; diff --git a/modules/system/programs/default.nix b/modules/system/programs/default.nix new file mode 100644 index 0000000..cbc336a --- /dev/null +++ b/modules/system/programs/default.nix @@ -0,0 +1,9 @@ +{ ... }: +{ + imports = [ + ./appimage + ./gaming + ./git + ./security + ]; +} diff --git a/system/programs/gaming/default.nix b/modules/system/programs/gaming/default.nix similarity index 88% rename from system/programs/gaming/default.nix rename to modules/system/programs/gaming/default.nix index cb47b6b..87b879f 100644 --- a/system/programs/gaming/default.nix +++ b/modules/system/programs/gaming/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: { +{ ... }: +{ programs.gamemode = { enable = true; settings.general.renice = 10; diff --git a/system/programs/git/default.nix b/modules/system/programs/git/default.nix similarity index 89% rename from system/programs/git/default.nix rename to modules/system/programs/git/default.nix index 9aa21c3..42a3d3c 100644 --- a/system/programs/git/default.nix +++ b/modules/system/programs/git/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./gpg ]; diff --git a/system/programs/git/gpg/default.nix b/modules/system/programs/git/gpg/default.nix similarity index 88% rename from system/programs/git/gpg/default.nix rename to modules/system/programs/git/gpg/default.nix index 334fc56..7fbd7dd 100644 --- a/system/programs/git/gpg/default.nix +++ b/modules/system/programs/git/gpg/default.nix @@ -1,8 +1,10 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; + environment.systemPackages = with pkgs; [ git-crypt ]; diff --git a/system/modules/security/apparmor/default.nix b/modules/system/programs/security/apparmor/default.nix similarity index 77% rename from system/modules/security/apparmor/default.nix rename to modules/system/programs/security/apparmor/default.nix index 49498f4..d247578 100644 --- a/system/modules/security/apparmor/default.nix +++ b/modules/system/programs/security/apparmor/default.nix @@ -1,3 +1,4 @@ -{ ... }: { +{ ... }: +{ security.apparmor.enable = true; } diff --git a/system/modules/security/default.nix b/modules/system/programs/security/default.nix similarity index 87% rename from system/modules/security/default.nix rename to modules/system/programs/security/default.nix index ae30326..5815e87 100644 --- a/system/modules/security/default.nix +++ b/modules/system/programs/security/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./apparmor ./doas diff --git a/system/modules/security/doas/default.nix b/modules/system/programs/security/doas/default.nix similarity index 95% rename from system/modules/security/doas/default.nix rename to modules/system/programs/security/doas/default.nix index 31bf677..f182327 100644 --- a/system/modules/security/doas/default.nix +++ b/modules/system/programs/security/doas/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ security = { sudo.enable = false; doas = { diff --git a/system/modules/security/gnome-keyring/default.nix b/modules/system/programs/security/gnome-keyring/default.nix similarity index 81% rename from system/modules/security/gnome-keyring/default.nix rename to modules/system/programs/security/gnome-keyring/default.nix index f421dfc..081985c 100644 --- a/system/modules/security/gnome-keyring/default.nix +++ b/modules/system/programs/security/gnome-keyring/default.nix @@ -1,3 +1,4 @@ -{ ... }: { +{ ... }: +{ services.gnome.gnome-keyring.enable = true; } diff --git a/system/modules/security/polkit/default.nix b/modules/system/programs/security/polkit/default.nix similarity index 86% rename from system/modules/security/polkit/default.nix rename to modules/system/programs/security/polkit/default.nix index 391a55a..b8b850e 100644 --- a/system/modules/security/polkit/default.nix +++ b/modules/system/programs/security/polkit/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ security = { polkit.enable = true; rtkit.enable = true; diff --git a/system/services/acme/default.nix b/modules/system/services/acme/default.nix similarity index 93% rename from system/services/acme/default.nix rename to modules/system/services/acme/default.nix index 542457a..20070f1 100644 --- a/system/services/acme/default.nix +++ b/modules/system/services/acme/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ security.acme = { acceptTerms = true; defaults.email = outputs.secrets.jimEmail; diff --git a/system/services/ddclient/default.nix b/modules/system/services/ddclient/default.nix similarity index 91% rename from system/services/ddclient/default.nix rename to modules/system/services/ddclient/default.nix index a98fb63..e3e8759 100644 --- a/system/services/ddclient/default.nix +++ b/modules/system/services/ddclient/default.nix @@ -1,5 +1,5 @@ -{ pkgs, outputs, ... }: { - # Dynamic IPs for Cloudflare records +{ pkgs, outputs, ... }: +{ services.ddclient = { enable = true; protocol = "cloudflare"; diff --git a/system/services/fileserver/default.nix b/modules/system/services/fileserver/default.nix similarity index 80% rename from system/services/fileserver/default.nix rename to modules/system/services/fileserver/default.nix index f22c5da..5db3fb2 100644 --- a/system/services/fileserver/default.nix +++ b/modules/system/services/fileserver/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./local ./public diff --git a/system/services/fileserver/local/default.nix b/modules/system/services/fileserver/local/default.nix similarity index 79% rename from system/services/fileserver/local/default.nix rename to modules/system/services/fileserver/local/default.nix index 3405606..c10f4f6 100644 --- a/system/services/fileserver/local/default.nix +++ b/modules/system/services/fileserver/local/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./nfs ./samba diff --git a/system/services/fileserver/local/nfs/default.nix b/modules/system/services/fileserver/local/nfs/default.nix similarity index 91% rename from system/services/fileserver/local/nfs/default.nix rename to modules/system/services/fileserver/local/nfs/default.nix index a90342a..7dd1502 100644 --- a/system/services/fileserver/local/nfs/default.nix +++ b/modules/system/services/fileserver/local/nfs/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ services.nfs.server = { enable = true; exports = '' diff --git a/system/services/fileserver/local/samba/default.nix b/modules/system/services/fileserver/local/samba/default.nix similarity index 97% rename from system/services/fileserver/local/samba/default.nix rename to modules/system/services/fileserver/local/samba/default.nix index c1cf2c8..e95e6d8 100644 --- a/system/services/fileserver/local/samba/default.nix +++ b/modules/system/services/fileserver/local/samba/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services = { samba = { enable = true; diff --git a/system/services/fileserver/public/default.nix b/modules/system/services/fileserver/public/default.nix similarity index 83% rename from system/services/fileserver/public/default.nix rename to modules/system/services/fileserver/public/default.nix index e1b98c7..252fe21 100644 --- a/system/services/fileserver/public/default.nix +++ b/modules/system/services/fileserver/public/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./nextcloud ./photoprism diff --git a/system/services/fileserver/public/nextcloud/default.nix b/modules/system/services/fileserver/public/nextcloud/default.nix similarity index 98% rename from system/services/fileserver/public/nextcloud/default.nix rename to modules/system/services/fileserver/public/nextcloud/default.nix index 1ce89bf..bcef9dd 100644 --- a/system/services/fileserver/public/nextcloud/default.nix +++ b/modules/system/services/fileserver/public/nextcloud/default.nix @@ -1,4 +1,5 @@ -{pkgs, outputs, ...}: { +{ pkgs, outputs, ... }: +{ services = { nextcloud = { enable = true; diff --git a/system/services/fileserver/public/photoprism/default.nix b/modules/system/services/fileserver/public/photoprism/default.nix similarity index 97% rename from system/services/fileserver/public/photoprism/default.nix rename to modules/system/services/fileserver/public/photoprism/default.nix index 013ab1a..b1b9d76 100644 --- a/system/services/fileserver/public/photoprism/default.nix +++ b/modules/system/services/fileserver/public/photoprism/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services = { photoprism = { enable = true; diff --git a/system/services/forgejo/default.nix b/modules/system/services/forgejo/default.nix similarity index 82% rename from system/services/forgejo/default.nix rename to modules/system/services/forgejo/default.nix index 503d68d..f46c11f 100644 --- a/system/services/forgejo/default.nix +++ b/modules/system/services/forgejo/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ imports = [ ./nginx ]; @@ -14,9 +15,9 @@ SSH_PORT = 2299; START_SSH_SERVER = true; }; - ui = { - DEFAULT_THEME = "forgejo-dark"; - }; + ui = { + DEFAULT_THEME = "forgejo-dark"; + }; mailer = { ENABLED = true; SMTP_ADDR = "mx.${outputs.secrets.jimDomain}"; @@ -26,8 +27,8 @@ PROTOCOL = "smtps"; }; service = { - REGISTER_EMAIL_CONFIRM = true; - DISABLE_REGISTRATION = true; + REGISTER_EMAIL_CONFIRM = true; + DISABLE_REGISTRATION = true; }; }; }; diff --git a/system/services/forgejo/nginx/default.nix b/modules/system/services/forgejo/nginx/default.nix similarity index 91% rename from system/services/forgejo/nginx/default.nix rename to modules/system/services/forgejo/nginx/default.nix index cb7ffa2..a056a3b 100644 --- a/system/services/forgejo/nginx/default.nix +++ b/modules/system/services/forgejo/nginx/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services.nginx.virtualHosts."git.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/icecast/default.nix b/modules/system/services/icecast/default.nix similarity index 93% rename from system/services/icecast/default.nix rename to modules/system/services/icecast/default.nix index e75b21d..419f08e 100644 --- a/system/services/icecast/default.nix +++ b/modules/system/services/icecast/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ imports = [ ./nginx ]; @@ -16,10 +17,10 @@ ${outputs.secrets.castSourcePass} - - Canada - jimbo@jimbosfiles.com - + + Canada + jimbo@jimbosfiles.com + /jimbops.opus JimBops Radio diff --git a/system/services/icecast/nginx/default.nix b/modules/system/services/icecast/nginx/default.nix similarity index 91% rename from system/services/icecast/nginx/default.nix rename to modules/system/services/icecast/nginx/default.nix index 2e3439e..b3864d4 100644 --- a/system/services/icecast/nginx/default.nix +++ b/modules/system/services/icecast/nginx/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ services.nginx.virtualHosts."icecast.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/mailserver/default.nix b/modules/system/services/mailserver/default.nix similarity index 98% rename from system/services/mailserver/default.nix rename to modules/system/services/mailserver/default.nix index 589be77..6f3f9b2 100644 --- a/system/services/mailserver/default.nix +++ b/modules/system/services/mailserver/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: rec { +{ pkgs, outputs, ... }: +{ imports = [ ./nginx ./roundcube diff --git a/system/services/mailserver/nginx/default.nix b/modules/system/services/mailserver/nginx/default.nix similarity index 88% rename from system/services/mailserver/nginx/default.nix rename to modules/system/services/mailserver/nginx/default.nix index 8d54dae..011b322 100644 --- a/system/services/mailserver/nginx/default.nix +++ b/modules/system/services/mailserver/nginx/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: rec { +{ pkgs, outputs, ... }: +{ services.nginx.virtualHosts."mx.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/mailserver/roundcube/default.nix b/modules/system/services/mailserver/roundcube/default.nix similarity index 66% rename from system/services/mailserver/roundcube/default.nix rename to modules/system/services/mailserver/roundcube/default.nix index 584b002..df54711 100644 --- a/system/services/mailserver/roundcube/default.nix +++ b/modules/system/services/mailserver/roundcube/default.nix @@ -1,9 +1,10 @@ -{ pkgs, outputs, ... }: rec { +{ pkgs, outputs, ... }: +{ services.roundcube = { enable = true; hostName = "mail.${outputs.secrets.jimDomain}"; extraConfig = '' - $config['smtp_server'] = "tls://${mailserver.fqdn}"; + $config['smtp_server'] = "tls://mx.${outputs.secrets.jimDomain}"; $config['smtp_user'] = "%u"; $config['smtp_pass'] = "%p"; ''; diff --git a/system/services/minecraft/common/default.nix b/modules/system/services/minecraft/common/default.nix similarity index 99% rename from system/services/minecraft/common/default.nix rename to modules/system/services/minecraft/common/default.nix index b46489b..2528232 100644 --- a/system/services/minecraft/common/default.nix +++ b/modules/system/services/minecraft/common/default.nix @@ -1,4 +1,5 @@ -{pkgs, ...}: { +{ pkgs, ... }: +{ # Common properties serverProperties = { enforce-secure-profile = false; diff --git a/system/services/minecraft/common/essentialsconfig.yml b/modules/system/services/minecraft/common/essentialsconfig.yml similarity index 100% rename from system/services/minecraft/common/essentialsconfig.yml rename to modules/system/services/minecraft/common/essentialsconfig.yml diff --git a/system/services/minecraft/common/vcserver.properties b/modules/system/services/minecraft/common/vcserver.properties similarity index 100% rename from system/services/minecraft/common/vcserver.properties rename to modules/system/services/minecraft/common/vcserver.properties diff --git a/system/services/minecraft/default.nix b/modules/system/services/minecraft/default.nix similarity index 94% rename from system/services/minecraft/default.nix rename to modules/system/services/minecraft/default.nix index 2fc1955..8ab54a6 100644 --- a/system/services/minecraft/default.nix +++ b/modules/system/services/minecraft/default.nix @@ -1,4 +1,5 @@ -{ inputs, ... }: { +{ inputs, ... }: +{ imports = [ inputs.minecraft.nixosModules.minecraft-servers ./servers/velocity diff --git a/system/services/minecraft/servers/blockworld/default.nix b/modules/system/services/minecraft/servers/blockworld/default.nix similarity index 96% rename from system/services/minecraft/servers/blockworld/default.nix rename to modules/system/services/minecraft/servers/blockworld/default.nix index 93231de..47f7205 100644 --- a/system/services/minecraft/servers/blockworld/default.nix +++ b/modules/system/services/minecraft/servers/blockworld/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: let +{ pkgs, ... }: +let common = import ../common.nix { inherit pkgs; }; in { services.minecraft-servers.servers.blockworld = { diff --git a/system/services/minecraft/servers/dewdemolisher/default.nix b/modules/system/services/minecraft/servers/dewdemolisher/default.nix similarity index 96% rename from system/services/minecraft/servers/dewdemolisher/default.nix rename to modules/system/services/minecraft/servers/dewdemolisher/default.nix index 010db5a..1656361 100644 --- a/system/services/minecraft/servers/dewdemolisher/default.nix +++ b/modules/system/services/minecraft/servers/dewdemolisher/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: let +{ pkgs, ... }: +let common = import ../common.nix { inherit pkgs; }; in { services.minecraft-servers.servers.dewdemolisher = { diff --git a/system/services/minecraft/servers/johnside/default.nix b/modules/system/services/minecraft/servers/johnside/default.nix similarity index 98% rename from system/services/minecraft/servers/johnside/default.nix rename to modules/system/services/minecraft/servers/johnside/default.nix index 5c25506..adea9cc 100644 --- a/system/services/minecraft/servers/johnside/default.nix +++ b/modules/system/services/minecraft/servers/johnside/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: let +{ pkgs, outputs, ... }: +let common = import ../common.nix { inherit pkgs; }; in { services = { diff --git a/system/services/minecraft/servers/roguecraft/default.nix b/modules/system/services/minecraft/servers/roguecraft/default.nix similarity index 98% rename from system/services/minecraft/servers/roguecraft/default.nix rename to modules/system/services/minecraft/servers/roguecraft/default.nix index 313e249..68a17ee 100644 --- a/system/services/minecraft/servers/roguecraft/default.nix +++ b/modules/system/services/minecraft/servers/roguecraft/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: let +{ pkgs, outputs, ... }: +let common = import ../common.nix { inherit pkgs; }; in { services = { diff --git a/system/services/minecraft/servers/uberbeta/default.nix b/modules/system/services/minecraft/servers/uberbeta/default.nix similarity index 97% rename from system/services/minecraft/servers/uberbeta/default.nix rename to modules/system/services/minecraft/servers/uberbeta/default.nix index ceaf7d5..b04b21d 100644 --- a/system/services/minecraft/servers/uberbeta/default.nix +++ b/modules/system/services/minecraft/servers/uberbeta/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: let +{ pkgs, ... }: +let common = import ../common.nix { inherit pkgs; }; uberBukkitZip = pkgs.fetchzip { url = "https://github.com/Moresteck/Project-Poseidon-Uberbukkit/releases/download/2.0.0/uberbukkit-2.0.0-java17.zip"; diff --git a/system/services/minecraft/servers/velocity/default.nix b/modules/system/services/minecraft/servers/velocity/default.nix similarity index 99% rename from system/services/minecraft/servers/velocity/default.nix rename to modules/system/services/minecraft/servers/velocity/default.nix index c3f1289..651d5a5 100644 --- a/system/services/minecraft/servers/velocity/default.nix +++ b/modules/system/services/minecraft/servers/velocity/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: let +{ pkgs, ... }: +let common = import ../common.nix { inherit pkgs; }; in { services.minecraft-servers.servers.velocity = { diff --git a/system/services/misc/server/default.nix b/modules/system/services/misc/default.nix similarity index 89% rename from system/services/misc/server/default.nix rename to modules/system/services/misc/default.nix index ab24c8f..e976caf 100644 --- a/system/services/misc/server/default.nix +++ b/modules/system/services/misc/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ services = { snowflake-proxy.enable = true; logrotate.checkConfig = false; diff --git a/system/services/mpd/default.nix b/modules/system/services/mpd/default.nix similarity index 94% rename from system/services/mpd/default.nix rename to modules/system/services/mpd/default.nix index a960102..6d866ec 100644 --- a/system/services/mpd/default.nix +++ b/modules/system/services/mpd/default.nix @@ -1,4 +1,5 @@ -{ config, pkgs, ... }: { +{ config, ... }: +{ services.mpd = { enable = true; user = "jimbo"; diff --git a/system/services/mysql/default.nix b/modules/system/services/mysql/default.nix similarity index 96% rename from system/services/mysql/default.nix rename to modules/system/services/mysql/default.nix index baf4f2c..5e999b9 100644 --- a/system/services/mysql/default.nix +++ b/modules/system/services/mysql/default.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ services.mysql = { enable = true; package = pkgs.mariadb; diff --git a/system/services/misc/pc/default.nix b/modules/system/services/networkfs/default.nix similarity index 82% rename from system/services/misc/pc/default.nix rename to modules/system/services/networkfs/default.nix index 4e223a2..1681237 100644 --- a/system/services/misc/pc/default.nix +++ b/modules/system/services/networkfs/default.nix @@ -1,4 +1,5 @@ -{pkgs, ...}: { +{ ... }: +{ services = { gvfs.enable = true; udisks2.enable = true; diff --git a/system/services/nginx/default.nix b/modules/system/services/nginx/default.nix similarity index 98% rename from system/services/nginx/default.nix rename to modules/system/services/nginx/default.nix index a0a71ce..c7df941 100644 --- a/system/services/nginx/default.nix +++ b/modules/system/services/nginx/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ services.nginx = { enable = true; package = (pkgs.nginx.override { diff --git a/modules/system/services/school/default.nix b/modules/system/services/school/default.nix new file mode 100644 index 0000000..a124cad --- /dev/null +++ b/modules/system/services/school/default.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + services.globalprotect.enable = true; +} diff --git a/system/services/social/default.nix b/modules/system/services/social/default.nix similarity index 89% rename from system/services/social/default.nix rename to modules/system/services/social/default.nix index 724937c..7177cce 100644 --- a/system/services/social/default.nix +++ b/modules/system/services/social/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./matrix ./mastodon diff --git a/system/services/social/lemmy/default.nix b/modules/system/services/social/lemmy/default.nix similarity index 96% rename from system/services/social/lemmy/default.nix rename to modules/system/services/social/lemmy/default.nix index 9eec59b..abdc624 100644 --- a/system/services/social/lemmy/default.nix +++ b/modules/system/services/social/lemmy/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ imports = [ ./nginx ]; diff --git a/system/services/social/lemmy/nginx/default.nix b/modules/system/services/social/lemmy/nginx/default.nix similarity index 86% rename from system/services/social/lemmy/nginx/default.nix rename to modules/system/services/social/lemmy/nginx/default.nix index 34f156f..af9b4fc 100644 --- a/system/services/social/lemmy/nginx/default.nix +++ b/modules/system/services/social/lemmy/nginx/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services.nginx.virtualHosts."lemmy.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/social/mastodon/default.nix b/modules/system/services/social/mastodon/default.nix similarity index 95% rename from system/services/social/mastodon/default.nix rename to modules/system/services/social/mastodon/default.nix index ac07cb8..a0dfede 100644 --- a/system/services/social/mastodon/default.nix +++ b/modules/system/services/social/mastodon/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ services.mastodon = { enable = true; localDomain = "social.${outputs.secrets.jimDomain}"; diff --git a/system/services/social/matrix/default.nix b/modules/system/services/social/matrix/default.nix similarity index 81% rename from system/services/social/matrix/default.nix rename to modules/system/services/social/matrix/default.nix index c74c65d..daef3a9 100644 --- a/system/services/social/matrix/default.nix +++ b/modules/system/services/social/matrix/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./synapse ./element diff --git a/system/services/social/matrix/element/default.nix b/modules/system/services/social/matrix/element/default.nix similarity index 96% rename from system/services/social/matrix/element/default.nix rename to modules/system/services/social/matrix/element/default.nix index b9fc0c6..ddfefd5 100644 --- a/system/services/social/matrix/element/default.nix +++ b/modules/system/services/social/matrix/element/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ imports = [ ./nginx ]; diff --git a/system/services/social/matrix/element/nginx/default.nix b/modules/system/services/social/matrix/element/nginx/default.nix similarity index 85% rename from system/services/social/matrix/element/nginx/default.nix rename to modules/system/services/social/matrix/element/nginx/default.nix index 4dfe86a..3513952 100644 --- a/system/services/social/matrix/element/nginx/default.nix +++ b/modules/system/services/social/matrix/element/nginx/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ services.nginx.virtualHosts."chat.${outputs.secrets.jimDomain}" = { enableACME = true; addSSL = true; diff --git a/system/services/social/matrix/synapse/coturn/default.nix b/modules/system/services/social/matrix/synapse/coturn/default.nix similarity index 97% rename from system/services/social/matrix/synapse/coturn/default.nix rename to modules/system/services/social/matrix/synapse/coturn/default.nix index 729f844..f4fbb61 100644 --- a/system/services/social/matrix/synapse/coturn/default.nix +++ b/modules/system/services/social/matrix/synapse/coturn/default.nix @@ -1,4 +1,5 @@ -{ outputs, config, ... }: { +{ outputs, config, ... }: +{ services = { coturn = { enable = true; diff --git a/system/services/social/matrix/synapse/coturn/nginx/default.nix b/modules/system/services/social/matrix/synapse/coturn/nginx/default.nix similarity index 90% rename from system/services/social/matrix/synapse/coturn/nginx/default.nix rename to modules/system/services/social/matrix/synapse/coturn/nginx/default.nix index 217d78b..1de57f9 100644 --- a/system/services/social/matrix/synapse/coturn/nginx/default.nix +++ b/modules/system/services/social/matrix/synapse/coturn/nginx/default.nix @@ -1,4 +1,5 @@ -{ outputs, config, ... }: { +{ outputs, config, ... }: +{ services.nginx.virtualHosts."turn.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/social/matrix/synapse/default.nix b/modules/system/services/social/matrix/synapse/default.nix similarity index 98% rename from system/services/social/matrix/synapse/default.nix rename to modules/system/services/social/matrix/synapse/default.nix index 6f1691e..b6251bb 100644 --- a/system/services/social/matrix/synapse/default.nix +++ b/modules/system/services/social/matrix/synapse/default.nix @@ -1,8 +1,9 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ imports = [ - ./nginx ./coturn ./slidingsync + ./nginx ]; services.matrix-synapse = { diff --git a/system/services/social/matrix/synapse/nginx/default.nix b/modules/system/services/social/matrix/synapse/nginx/default.nix similarity index 95% rename from system/services/social/matrix/synapse/nginx/default.nix rename to modules/system/services/social/matrix/synapse/nginx/default.nix index f8141f6..e02f2e8 100644 --- a/system/services/social/matrix/synapse/nginx/default.nix +++ b/modules/system/services/social/matrix/synapse/nginx/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services.nginx.virtualHosts."matrix.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/social/matrix/synapse/slidingsync/default.nix b/modules/system/services/social/matrix/synapse/slidingsync/default.nix similarity index 92% rename from system/services/social/matrix/synapse/slidingsync/default.nix rename to modules/system/services/social/matrix/synapse/slidingsync/default.nix index f33e561..81d161f 100644 --- a/system/services/social/matrix/synapse/slidingsync/default.nix +++ b/modules/system/services/social/matrix/synapse/slidingsync/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ services.matrix-sliding-sync = { enable = true; settings = { diff --git a/system/services/social/owncast/default.nix b/modules/system/services/social/owncast/default.nix similarity index 87% rename from system/services/social/owncast/default.nix rename to modules/system/services/social/owncast/default.nix index 3404df9..c4d2917 100644 --- a/system/services/social/owncast/default.nix +++ b/modules/system/services/social/owncast/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ imports = [ ./nginx ]; diff --git a/system/services/social/owncast/nginx/default.nix b/modules/system/services/social/owncast/nginx/default.nix similarity index 91% rename from system/services/social/owncast/nginx/default.nix rename to modules/system/services/social/owncast/nginx/default.nix index cfaf8a1..c13d460 100644 --- a/system/services/social/owncast/nginx/default.nix +++ b/modules/system/services/social/owncast/nginx/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services.nginx.virtualHosts."live.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/social/pixelfed/default.nix b/modules/system/services/social/pixelfed/default.nix similarity index 97% rename from system/services/social/pixelfed/default.nix rename to modules/system/services/social/pixelfed/default.nix index 50ac38e..e7d1555 100644 --- a/system/services/social/pixelfed/default.nix +++ b/modules/system/services/social/pixelfed/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ services.pixelfed = { enable = true; domain = "pics.${outputs.secrets.jimDomain}"; diff --git a/system/services/ssh/default.nix b/modules/system/services/ssh/default.nix similarity index 95% rename from system/services/ssh/default.nix rename to modules/system/services/ssh/default.nix index 589248a..03b5dc3 100644 --- a/system/services/ssh/default.nix +++ b/modules/system/services/ssh/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ imports = [ ./fail2ban ]; diff --git a/system/services/ssh/fail2ban/default.nix b/modules/system/services/ssh/fail2ban/default.nix similarity index 87% rename from system/services/ssh/fail2ban/default.nix rename to modules/system/services/ssh/fail2ban/default.nix index 00206d1..62d80a8 100644 --- a/system/services/ssh/fail2ban/default.nix +++ b/modules/system/services/ssh/fail2ban/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services.fail2ban = { enable = true; maxretry = 5; diff --git a/system/services/sunshine/default.nix b/modules/system/services/sunshine/default.nix similarity index 90% rename from system/services/sunshine/default.nix rename to modules/system/services/sunshine/default.nix index 053332c..e73dccb 100644 --- a/system/services/sunshine/default.nix +++ b/modules/system/services/sunshine/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ services.sunshine = { enable = true; settings.port = 57989; diff --git a/system/services/transmission/default.nix b/modules/system/services/transmission/default.nix similarity index 91% rename from system/services/transmission/default.nix rename to modules/system/services/transmission/default.nix index 8bd07a7..341a3d1 100644 --- a/system/services/transmission/default.nix +++ b/modules/system/services/transmission/default.nix @@ -1,4 +1,5 @@ -{ pkgs, outputs, ... }: { +{ pkgs, outputs, ... }: +{ imports = [ ./nginx ]; diff --git a/system/services/transmission/nginx/default.nix b/modules/system/services/transmission/nginx/default.nix similarity index 91% rename from system/services/transmission/nginx/default.nix rename to modules/system/services/transmission/nginx/default.nix index 498005b..3a0e7bc 100644 --- a/system/services/transmission/nginx/default.nix +++ b/modules/system/services/transmission/nginx/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services.nginx.virtualHosts."torrent.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/vaultwarden/default.nix b/modules/system/services/vaultwarden/default.nix similarity index 97% rename from system/services/vaultwarden/default.nix rename to modules/system/services/vaultwarden/default.nix index 705f0ef..2b27997 100644 --- a/system/services/vaultwarden/default.nix +++ b/modules/system/services/vaultwarden/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ imports = [ ./nginx ]; diff --git a/system/services/vaultwarden/nginx/default.nix b/modules/system/services/vaultwarden/nginx/default.nix similarity index 91% rename from system/services/vaultwarden/nginx/default.nix rename to modules/system/services/vaultwarden/nginx/default.nix index 35638f8..82a7902 100644 --- a/system/services/vaultwarden/nginx/default.nix +++ b/modules/system/services/vaultwarden/nginx/default.nix @@ -1,4 +1,5 @@ -{ outputs, ... }: { +{ outputs, ... }: +{ services.nginx.virtualHosts."warden.${outputs.secrets.jimDomain}" = { enableACME = true; forceSSL = true; diff --git a/system/services/virtualization/default.nix b/modules/system/services/virtualization/default.nix similarity index 55% rename from system/services/virtualization/default.nix rename to modules/system/services/virtualization/default.nix index f17d95e..8f61253 100644 --- a/system/services/virtualization/default.nix +++ b/modules/system/services/virtualization/default.nix @@ -1,6 +1,6 @@ -{ ... }: { +{ ... }: +{ imports = [ ./qemu - ./waydroid ]; } diff --git a/system/services/virtualization/qemu/default.nix b/modules/system/services/virtualization/qemu/default.nix similarity index 96% rename from system/services/virtualization/qemu/default.nix rename to modules/system/services/virtualization/qemu/default.nix index 5daeb19..4b5db05 100644 --- a/system/services/virtualization/qemu/default.nix +++ b/modules/system/services/virtualization/qemu/default.nix @@ -1,4 +1,5 @@ -{ config, pkgs, ... }: { +{ config, pkgs, ... }: +{ virtualisation = { libvirtd = { enable = true; diff --git a/modules/system/services/virtualization/waydroid/default.nix b/modules/system/services/virtualization/waydroid/default.nix new file mode 100644 index 0000000..521a802 --- /dev/null +++ b/modules/system/services/virtualization/waydroid/default.nix @@ -0,0 +1,4 @@ +{ config, lib, ... }: +{ + virtualisation.waydroid.enable = true; +} diff --git a/overlays/mpv/default.nix b/overlays/mpv/default.nix new file mode 100644 index 0000000..306914a --- /dev/null +++ b/overlays/mpv/default.nix @@ -0,0 +1,10 @@ +{ ... }: +self: super: { + mpv = super.mpv.override { + scripts = with self.mpvScripts; [ + mpris + sponsorblock + thumbnail + ]; + }; +} diff --git a/packages/default.nix b/packages/default.nix new file mode 100644 index 0000000..807297c --- /dev/null +++ b/packages/default.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: +{ + xash3d = import ./xash3d { inherit pkgs; }; + hlsdk = import ./hlsdk { inherit pkgs; }; +} diff --git a/extras/pkgs/xash/hlsdk.nix b/packages/hlsdk/default.nix similarity index 100% rename from extras/pkgs/xash/hlsdk.nix rename to packages/hlsdk/default.nix diff --git a/extras/pkgs/xash/change-zip-date.patch b/packages/xash3d/change-zip-date.patch similarity index 100% rename from extras/pkgs/xash/change-zip-date.patch rename to packages/xash3d/change-zip-date.patch diff --git a/extras/pkgs/xash/xash3d.nix b/packages/xash3d/default.nix similarity index 100% rename from extras/pkgs/xash/xash3d.nix rename to packages/xash3d/default.nix diff --git a/system/modules/networking/wireless/default.nix b/system/modules/networking/wireless/default.nix deleted file mode 100644 index 03e07cf..0000000 --- a/system/modules/networking/wireless/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ lib, config, ... }: { - options = { - networking.wifi.enable = lib.mkEnableOption "Enable enable Network Manager and B43"; - }; - - config = lib.mkIf config.misc.general.enable { - networking = { - networkmanager.enable = true; - enableB43Firmware = true; - }; - }; -} diff --git a/system/modules/overlays/default.nix b/system/modules/overlays/default.nix deleted file mode 100644 index 2883425..0000000 --- a/system/modules/overlays/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ outputs, ... }: { - nixpkgs.overlays = [ - outputs.overlays.additions - outputs.overlays.selfsuper - outputs.overlays.finalprev - ]; -} diff --git a/system/modules/video/nouveau/default.nix b/system/modules/video/nouveau/default.nix deleted file mode 100644 index 3413d95..0000000 --- a/system/modules/video/nouveau/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, lib, ... }: { - options = { - drivers.nouveau.enable = lib.mkEnableOption "Enable proprietary Nvidia drivers"; - }; - - config = lib.mkIf config.drivers.nvidia.enable { - services.xserver.videoDrivers = [ "nouveau" ]; - }; -} diff --git a/system/modules/video/nvidia/default.nix b/system/modules/video/nvidia/default.nix deleted file mode 100644 index e8cc340..0000000 --- a/system/modules/video/nvidia/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ pkgs, config, lib, ... }: { - options = { - drivers.nvidia.enable = lib.mkEnableOption "Enable proprietary Nvidia drivers"; - }; - - config = lib.mkIf config.drivers.nvidia.enable { - services.xserver.videoDrivers = [ "nvidia" ]; - hardware.nvidia = { - modesetting.enable = true; - nvidiaSettings = false; - package = config.boot.kernelPackages.nvidiaPackages.beta; - open = false; - }; - }; -} diff --git a/system/pc.nix b/system/pc.nix deleted file mode 100644 index 0b8568c..0000000 --- a/system/pc.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ ... }: { - imports = [ - # Base configs - ./default.nix - - # Users and groups - ./accounts - - # Modules - ./modules - - # Programs - ./programs - - # Services - ./services/ssh - ./services/sunshine - ./services/mpd - ./services/virtualization - ]; -} diff --git a/system/programs/default.nix b/system/programs/default.nix deleted file mode 100644 index 1f91e59..0000000 --- a/system/programs/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ ... }: { - imports = [ - ./appimage - ./gaming - ./git - ./school - ./sway - ./theming - ./wayland - ]; -} diff --git a/system/programs/school/default.nix b/system/programs/school/default.nix deleted file mode 100644 index b717b22..0000000 --- a/system/programs/school/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs, ... }: { - environment.systemPackages = with pkgs; [ - remmina - freerdp - python3 - zoom-us - globalprotect-openconnect - ]; - - services.globalprotect.enable = true; -} diff --git a/system/programs/theming/default.nix b/system/programs/theming/default.nix deleted file mode 100644 index 7727fb3..0000000 --- a/system/programs/theming/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ ... }: { - imports = [ - ./qt - ./fonts - ]; -} diff --git a/system/programs/wayland/default.nix b/system/programs/wayland/default.nix deleted file mode 100644 index f3fc805..0000000 --- a/system/programs/wayland/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ pkgs, ... }: { - programs = { - dconf.enable = true; - light.enable = true; - xwayland.enable = true; - }; - - # Battery saver and dbus - services = { - tlp.enable = true; - dbus.enable = true; - }; - - environment.systemPackages = with pkgs; [ - wl-clipboard - wdisplays - clipman - libnotify - grim - slurp - swappy - jq - lm_sensors - ]; -} diff --git a/system/server.nix b/system/server.nix deleted file mode 100644 index 3623eef..0000000 --- a/system/server.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ ... }: { - imports = [ - # Base configs - ./default.nix - - # Users and groups - ./accounts - - # Modules - ./modules/security/doas - - # Services - ./services/acme - ./services/ddclient - ./services/fileserver - ./services/firewall/server - ./services/forgejo - ./services/icecast - ./services/mailserver - ./services/minecraft - ./services/misc/server - ./services/mysql - ./services/nginx - ./services/social - ./services/ssh - ./services/transmission - ./services/vaultwarden - ./services/wireguard/server - ]; - - environment.systemPackages = with pkgs; [ - mdadm - ]; -} diff --git a/system/services/firewall/pc/default.nix b/system/services/firewall/pc/default.nix deleted file mode 100644 index 0bb9218..0000000 --- a/system/services/firewall/pc/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{outputs, ...}: { - # Networking settings - networking = { - # Enable firewall - firewall = { - allowPing = false; - extraInputRules = '' - ip saddr { ${outputs.ips.server}, ${outputs.ips.wgSpan}.1 } accept comment "Accept Server" - ''; - }; - }; -} diff --git a/system/services/garbage-collection/default.nix b/system/services/garbage-collection/default.nix deleted file mode 100644 index c06c2d9..0000000 --- a/system/services/garbage-collection/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ ... }: { - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 1w"; - }; -} diff --git a/system/services/virtualization/waydroid/default.nix b/system/services/virtualization/waydroid/default.nix deleted file mode 100644 index 0751a8e..0000000 --- a/system/services/virtualization/waydroid/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, lib, ... }: { - options = { - misc.waydroid.enable = lib.mkEnableOption "Enable proprietary Nvidia drivers"; - }; - - config = lib.mkIf config.misc.waydroid.enable { - virtualisation.waydroid.enable = true; - }; -} diff --git a/extras/cmd.nix b/variables/cmd/default.nix similarity index 82% rename from extras/cmd.nix rename to variables/cmd/default.nix index 9396002..ecf0886 100644 --- a/extras/cmd.nix +++ b/variables/cmd/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ auth = "doas"; nixcfg = "ranger /etc/nixos"; } diff --git a/extras/displays.nix b/variables/displays/default.nix similarity index 85% rename from extras/displays.nix rename to variables/displays/default.nix index 2322b16..81b6d5c 100644 --- a/extras/displays.nix +++ b/variables/displays/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ d1 = "DP-3"; d2 = "DP-1"; d3 = "DP-2"; diff --git a/extras/ips.nix b/variables/ips/default.nix similarity index 92% rename from extras/ips.nix rename to variables/ips/default.nix index 89356b2..5021a8e 100644 --- a/extras/ips.nix +++ b/variables/ips/default.nix @@ -1,4 +1,5 @@ -{ ... }: rec { +{ ... }: +rec { netInt = "eno1"; localSpan = "10.0.0"; server = "${localSpan}.2"; diff --git a/extras/look.nix b/variables/look/default.nix similarity index 97% rename from extras/look.nix rename to variables/look/default.nix index 5ff11c4..3a65b4b 100644 --- a/extras/look.nix +++ b/variables/look/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ colors = { prime = ''3823C4''; #3823C4 accent = ''1B1F59''; #1B1F59 diff --git a/variables/secrets_/default.nix b/variables/secrets_/default.nix new file mode 100644 index 0000000000000000000000000000000000000000..17768acb42e6a5bed23f3eb48ff8cdc0effd7827 GIT binary patch literal 3026 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 UKK%3s!w_vusPn{a_4|^p(uJDGlK=n! literal 0 HcmV?d00001 diff --git a/extras/workspaces.nix b/variables/workspaces/default.nix similarity index 96% rename from extras/workspaces.nix rename to variables/workspaces/default.nix index 8df530a..8cd36cf 100644 --- a/extras/workspaces.nix +++ b/variables/workspaces/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ ... }: +{ w0 = ''0:0''; w1 = ''1:1''; w2 = ''2:2'';