Commit graph

145 commits

Author SHA1 Message Date
Evie Litherland-Smith 2fb800ab34 Add extra middleware to (hopefully) fix syncthing remote gui 2023-10-26 19:35:52 +01:00
Evie Litherland-Smith 0a43fe7295 Remove setting devices for folders in expression 2023-10-26 17:56:47 +01:00
Evie Litherland-Smith d5b54b8551 Add traefik route with auth for syncthing-webinterface
Add auth to adguardhome and grafana traefik routes as well
2023-10-26 17:22:47 +01:00
Evie Litherland-Smith 825002f0ec Move home syncthing setup to hyprland, without tray
Make server syncthing devices transient, keep folders declarative though
2023-10-26 17:15:51 +01:00
Evie Litherland-Smith 461d2580dc Change how syncthing is configured
Revert syncthing to using own user space in /var/lib/syncthing and set
to only run on server
User home-manager syncthing service (with tray) for other machines

Remove mpd/mpc, and spot
2023-10-26 16:49:11 +01:00
Evie Litherland-Smith 80ddaf9cfc Switch to using git-sync for elfeed and notmuch databases
Disable both in syncthing
2023-10-26 13:30:44 +01:00
Evie Litherland-Smith bad1f0bf7f Add a directory to sync notmuch database 2023-10-25 22:34:52 +01:00
Evie Litherland-Smith 29ed547f9c Move rewrites to dns, add some blocked services 2023-10-22 09:03:51 +01:00
Evie Litherland-Smith 350fa9fbf1 Add local rewrite for server domains
Ignore same domains from statistics as querylog
2023-10-22 08:49:17 +01:00
Evie Litherland-Smith f592780f9e Ignore some common queries from logging 2023-10-22 08:00:51 +01:00
Evie Litherland-Smith 367ac8e689 Fix path setting
Move Legion syncthing path to be default like everything else
2023-10-22 07:52:24 +01:00
Evie Litherland-Smith 8a76c27dae Add elfeed database to syncthing
Update syncthing definition to use dataDir in folder path, reduce
redefinition by just changing dataDir if they should be somewhere else
2023-10-22 07:39:51 +01:00
Evie Litherland-Smith cd79d70eba Enable ntfy traefik route 2023-10-22 07:01:56 +01:00
Evie Litherland-Smith 7538f6bd4b Adjust sshd settings
Allow root login via key only

Prune number of authorised keys
2023-10-22 06:52:38 +01:00
Evie Litherland-Smith 64109cf380 Fix adguardhome settings
Set http port and dns settings using updated schema, disable rate
limiting and enable safe search
2023-10-22 06:45:46 +01:00
Evie Litherland-Smith 9dcceed7c0 Make adguardhome settings immutable 2023-10-22 06:07:05 +01:00
Evie Litherland-Smith b575f6af22 Add traefik route for grafana dashboard 2023-10-21 17:59:26 +01:00
Evie Litherland-Smith a1c28e779a Clean up and add services
Remove jupyter service and qbittorrent traefik route

Add ntfy-sh (enabled) and initial grafana (not enabled) expressions

Change services to call own traefik expression, rather than needing to
be called explicitly
2023-10-21 17:55:11 +01:00
Evie Litherland-Smith 1bd9b02d8f Remove unused system configs 2023-10-21 08:46:28 +01:00
Evie Litherland-Smith 2bd6193286 Reduce folders in syncthing
Only sync pictures and zotero library using syncthing, moving the rest
to NextCloud
2023-10-19 08:29:32 +01:00
Evie Litherland-Smith 0889818512 Big reorganise
Move commonModule into system/default.nix
Keep most essential parts (user definition, home-manager init) in
flake.nix but move rest to system/default.nix

Remove some tui expressions from home and add all to home/default.nix,
will always want those so always use

Disable gamescope session unless gamescope.nix imported

Move various home.package definitions to environment.systemPackage in
system/ expressions, located based on appropriate use

Move wallpapers directory due to restructure, no other changes to it
2023-10-09 11:40:25 +01:00
Evie Litherland-Smith 5dba087864 Add Scorch to syncthing folders 2023-10-03 15:23:06 +01:00
Evie Litherland-Smith aa2436462d Add syncthing ID for Scorch 2023-10-03 15:18:03 +01:00
Evie Litherland-Smith 6d56e9c71d Remove Monarch from devices 2023-10-02 07:31:48 +01:00
Evie Litherland-Smith b515145f37 Update syncthing devices 2023-09-10 21:28:37 +01:00
Evie Litherland-Smith 10a44cbc2d Major re-write to make things more modularised
Move collection expressions from hosts/ into services/ as importable
modules
Remove service/hostname.nix collections
Remove all imports from host/ expressions and include as modules in
flake.nix
Set sensible defaults that propagate to (I think) everything
2023-09-10 17:07:11 +01:00
Evie Litherland-Smith 393c1a7752 Add (new) Northstar config 2023-09-09 22:37:13 +01:00
Evie Litherland-Smith 0b1e985966 Temp remove max file size changes 2023-08-30 07:37:40 +01:00
Evie Litherland-Smith 9d56ba6c47 Add more explicit import names 2023-08-30 07:34:45 +01:00
Evie Litherland-Smith 09e52ee595 Add Vanguard back to syncthing 2023-08-30 07:28:36 +01:00
Evie Litherland-Smith f56d3bdb21 Merge branch 'main' of https://git.xenia.me.uk/xenia/nixos 2023-07-30 16:25:17 +01:00
Evie Litherland-Smith bd39fd54c4 Disable syncthing for Vanguard 2023-07-30 16:25:03 +01:00
Evie Litherland-Smith 7de42b8acd Change device groups and default location for Notes 2023-07-30 16:15:32 +01:00
Evie Litherland-Smith 12ed487cc2 More syncthing option renaming 2023-07-24 13:30:39 +01:00
Evie Litherland-Smith 3c5f909c0d Syncthing expression syntax updates 2023-07-24 13:29:09 +01:00
Evie Litherland-Smith 4fdc446aec Set more sensible default directories for syncthing 2023-07-21 11:38:46 +01:00
Evie Litherland-Smith 28b95d7096 Remove Northstar syncthing 2023-07-21 11:12:34 +01:00
Evie Litherland-Smith f7edaab157 Make autoUpgrade not be the default, enable where wanted 2023-07-21 11:10:31 +01:00
Evie Litherland-Smith 40b79a59a6 Update nextcloud version 2023-07-16 17:56:45 +01:00
Evie Litherland-Smith 2e4bbba69d Fix function typo in syncthing definition 2023-07-16 17:54:36 +01:00
Evie Litherland-Smith b102f9e209 Major cleanup for files
Reduce complexity and in flake.nix and be more efficient in re-using
things

Removed some reduandant files in home/ and tidied up the structure
somewhat

Moved things from desktop, gui, etc... to top level

Changed env to shell, indiv shell expressions import relevant others
2023-07-16 17:35:36 +01:00
Evie Litherland-Smith 6a27b4e0f4 Add default paths for syncthing directories 2023-06-28 19:56:54 +01:00
Evie Litherland-Smith c41aa4b684 Add dataDir to Legion syncthing 2023-06-28 19:49:32 +01:00
Evie Litherland-Smith a1c84f5b3a Syncthing updates 2023-06-28 18:18:25 +01:00
Evie Litherland-Smith e97d94c79e Add workspace for steam, update syncthing for Vanguard 2023-06-28 18:03:45 +01:00
Evie Litherland-Smith 24ecf210d5 Rename work laptop to fit theme, capitalise names in syncthing config for consistency 2023-06-27 13:46:28 +01:00
Evie Litherland-Smith d01c8a8cc3 Clean up syncthing config, add N0245 config 2023-06-27 09:54:15 +01:00
Evie Litherland-Smith 28264418ed Update Vanguard syncthing ID 2023-06-27 07:44:41 +01:00
Evie Litherland-Smith c0ebbf817d Add dataDir for Vanguard syncthing 2023-06-27 07:42:27 +01:00
Evie Litherland-Smith 29e958929a Remove extra definitions 2023-06-27 07:38:02 +01:00
Evie Litherland-Smith 4e94be6e82 Update syncthing to include device defaults 2023-06-27 07:36:32 +01:00
Evie Litherland-Smith 234e9e131b Add config for new work laptop N0245, add compact pulseaudio waybar module 2023-06-19 14:33:05 +01:00
Evie Litherland-Smith a2efac4398 Nextcloud PHP options need to be strings 2023-06-19 07:45:22 +01:00
Evie Litherland-Smith 0f77c804f0 Also increase timeout limit for nextcloud uploads 2023-06-19 07:43:25 +01:00
Evie Litherland-Smith 73b71ace69 Increase nextcloud max upload size, tweak update times for Legion 2023-06-19 07:38:25 +01:00
Evie Litherland-Smith 803e21db44 syncthing id updates 2023-06-18 11:53:03 +01:00
Evie Litherland-Smith 478ed17ce0 Update syncthing device id 2023-06-18 11:49:17 +01:00
Evie Litherland-Smith 0b0010bf7a Add ion to zotero sync devices for J0162 2023-06-16 11:39:25 +01:00
Evie Litherland-Smith 352876716e Add J0162 to notes and zotero syncthing dirs 2023-06-16 11:13:19 +01:00
Evie Litherland-Smith 6eeb623084 Add J0162 syncthing device ID 2023-06-16 11:10:41 +01:00
Evie Litherland-Smith 9d35ebd33f Add jupyter user and group, set correct package for using jupyterlab 2023-06-14 10:42:07 +01:00
Evie Litherland-Smith 0cbcf57a0a Add jupyter notebook and lab service config 2023-06-14 10:16:33 +01:00
Evie Litherland-Smith 3bcba72370 Add syncthing config for J0162 2023-06-13 08:01:07 +01:00
Evie Litherland-Smith cdf55985f7 Remove archive from syncing to Northstar 2023-06-11 08:44:41 +01:00
Evie Litherland-Smith 540bc53892 update device ID for Northstar syncthing 2023-06-10 07:12:37 +01:00
Evie Litherland-Smith 79a65bbca1 Add Zotero library to syncthing 2023-06-09 14:00:32 +01:00
Evie Litherland-Smith 729186efc9 Add nextcloud bookmarks module 2023-06-08 11:00:54 +01:00
Evie Litherland-Smith 1f2718b8ac Remove some folders from Vanguard syncthing config 2023-06-06 11:39:46 +01:00
Evie Litherland-Smith 6eed79839f Move syncthing dataDir for Vanguard, move some things into home
directory
2023-06-05 08:10:43 +01:00
Evie Litherland-Smith 90d1a7abda Update H0615 syncthing config for redesigned folder structure 2023-06-05 07:47:40 +01:00
Evie Litherland-Smith b9edd347e5 Remove service files for H0615 and Vanguard since they only need syncthing 2023-06-05 07:42:47 +01:00
Evie Litherland-Smith 11a5d8da27 Move folder and device descriptions into dedicated expression files 2023-06-05 07:42:08 +01:00
Evie Litherland-Smith a87cfeef05 Enable openvpn on Legion 2023-06-05 07:07:26 +01:00
Evie Litherland-Smith 2a3abf408a Add home config for Legion users
Disable flatpak as default, doesn't work on a non-desktop system
Disable syncthing and vpn on Legion for now
2023-06-04 16:58:15 +01:00
Evie Litherland-Smith 444abc0d0d Add address for legion, remove vanguard server expressions 2023-06-04 16:51:06 +01:00
Evie Litherland-Smith 0264eeb6fc Add initial settings for new server machine Legion
Adapt existing settings for Vanguard being used as server
2023-06-04 10:55:46 +01:00
Evie Litherland-Smith 171f53dbd3 Add notes directory syncing to H0615 2023-05-31 10:03:32 +01:00
Evie Litherland-Smith 1db5364696 Add services expression for H0615, update waybar and switch to hyprland 2023-05-31 09:46:34 +01:00
Evie Litherland-Smith 164b2d6d02 Add tmux as systemPackage for accessing running terraria server 2023-05-31 07:44:47 +01:00
Evie Litherland-Smith 7b66f284f6 Enable sniStrict to drop requests from domains without routers 2023-05-30 12:13:03 +01:00
Evie Litherland-Smith 15c427f812 Change password due to terraria character limit 2023-05-30 11:58:48 +01:00
Evie Litherland-Smith af944dc31b Add server password 2023-05-30 11:53:36 +01:00
Evie Litherland-Smith aa3b086372 Remove quotes from path 2023-05-30 11:24:22 +01:00
Evie Litherland-Smith c2ca73d16d Add terraria world config 2023-05-30 10:55:14 +01:00
Evie Litherland-Smith 9c69402502 Add openvpn config 2023-05-30 10:46:23 +01:00
Evie Litherland-Smith a69d0a1a92 Remove ssh forwarding from traefik, remove traefik auth from internal connections 2023-05-30 10:08:26 +01:00
Evie Litherland-Smith 3764e5cee5 Disable ssh for gitea, and associated routing/rules 2023-05-28 19:58:05 +01:00
Evie Litherland-Smith 46cf3b2a13 Add ssh keys for VPS, add fallback internal traefik route 2023-05-27 16:27:21 +01:00
Evie Litherland-Smith 341f392e40 Disable gitea own ssh server startup 2023-05-26 14:30:42 +01:00
Evie Litherland-Smith 0503c681c2 Add nextcloud config (working)
Fix nextcloud and add recommended security features
2023-05-26 10:21:38 +01:00
Evie Litherland-Smith 064ad9e6be Enable nextclound config 2023-05-26 09:12:12 +01:00
Evie Litherland-Smith 36917117e1 Delete syncthing traefik config 2023-05-26 09:11:36 +01:00
Evie Litherland-Smith ed53502cc3 Typo in traefik config 2023-05-26 08:57:51 +01:00
Evie Litherland-Smith de765ea1f7 Remove reference to qbittorrent service, keep traefik 2023-05-26 08:56:28 +01:00
Evie Litherland-Smith 320d76f972 Move server directory and syncthing into services directory
Separate service setup from traefik config for each, prep for future
server separation
2023-05-26 08:52:46 +01:00