diff options
Diffstat (limited to 'host')
54 files changed, 53 insertions, 34 deletions
diff --git a/host/Rory-desktop/configuration.nix b/host/Rory-desktop/configuration.nix index ae30435..55ee3a8 100644 --- a/host/Rory-desktop/configuration.nix +++ b/host/Rory-desktop/configuration.nix @@ -86,7 +86,6 @@ }; }; - sound.enable = true; hardware.pulseaudio.enable = false; @@ -167,7 +166,6 @@ sudo.wheelNeedsPassword = false; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-devenv/configuration.nix b/host/Rory-devenv/configuration.nix index 108ff82..108ff82 100755..100644 --- a/host/Rory-devenv/configuration.nix +++ b/host/Rory-devenv/configuration.nix diff --git a/host/Rory-devenv/software.nix b/host/Rory-devenv/software.nix index af07bdf..93b430e 100755..100644 --- a/host/Rory-devenv/software.nix +++ b/host/Rory-devenv/software.nix @@ -71,6 +71,5 @@ (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ]; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-fosscord/configuration.nix b/host/Rory-fosscord/configuration.nix index 84c997e..84c997e 100755..100644 --- a/host/Rory-fosscord/configuration.nix +++ b/host/Rory-fosscord/configuration.nix diff --git a/host/Rory-fosscord/software.nix b/host/Rory-fosscord/software.nix index 78f4412..231b74d 100755..100644 --- a/host/Rory-fosscord/software.nix +++ b/host/Rory-fosscord/software.nix @@ -8,7 +8,4 @@ discord-client-proxy.modules.proxy discord-client-proxy.modules.users ]; - - system.stateVersion = "22.11"; # DO NOT EDIT! -} - +} \ No newline at end of file diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix index 28b6125..28b6125 100755..100644 --- a/host/Rory-nginx/configuration.nix +++ b/host/Rory-nginx/configuration.nix diff --git a/host/Rory-nginx/post-rebuild.sh b/host/Rory-nginx/post-rebuild.sh index 0ea1293..9b0c17c 100755..100644 --- a/host/Rory-nginx/post-rebuild.sh +++ b/host/Rory-nginx/post-rebuild.sh @@ -10,7 +10,6 @@ REACHABLE_DOMAIN='http://localhost:8008' # Explicit authorisation to use the code has been granted by the original author # for use by members of the Rory& system (https://rory.gay) - # the magic function: register(){ echo "Registering $1" @@ -23,8 +22,6 @@ register(){ # -- END OF LICENSED CODE - - PASSWD=`cat /etc/matrix-user-pass` for u in {draupnir,Alicia,Emma,Rory,root,Quetzelle} do diff --git a/host/Rory-nginx/services/containers/matrixunittests/container.nix b/host/Rory-nginx/services/containers/matrixunittests/container.nix index 7c15e04..7c15e04 100755..100644 --- a/host/Rory-nginx/services/containers/matrixunittests/container.nix +++ b/host/Rory-nginx/services/containers/matrixunittests/container.nix diff --git a/host/Rory-nginx/services/containers/matrixunittests/root.nix b/host/Rory-nginx/services/containers/matrixunittests/root.nix index 6ee6f26..b42a38a 100755..100644 --- a/host/Rory-nginx/services/containers/matrixunittests/root.nix +++ b/host/Rory-nginx/services/containers/matrixunittests/root.nix @@ -27,5 +27,5 @@ dig cloud-utils ]; - system.stateVersion = "22.11"; # DO NOT EDIT! + } \ No newline at end of file diff --git a/host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix b/host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix index a617eb2..8e49043 100755..100644 --- a/host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix +++ b/host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix @@ -33,6 +33,5 @@ }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix b/host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix index 817822f..d6697be 100755..100644 --- a/host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix +++ b/host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix @@ -97,5 +97,4 @@ security.acme.acceptTerms = true; security.acme.defaults.email = "root@rory.gay"; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-nginx/services/containers/matrixunittests/services/pantalaimon.nix b/host/Rory-nginx/services/containers/matrixunittests/services/pantalaimon.nix index 88b81a9..b5f7f77 100755..100644 --- a/host/Rory-nginx/services/containers/matrixunittests/services/pantalaimon.nix +++ b/host/Rory-nginx/services/containers/matrixunittests/services/pantalaimon.nix @@ -12,6 +12,5 @@ }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix index f1ddb3f..f1ddb3f 100755..100644 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix index 6ee6f26..b42a38a 100755..100644 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix @@ -27,5 +27,5 @@ dig cloud-utils ]; - system.stateVersion = "22.11"; # DO NOT EDIT! + } \ No newline at end of file diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix index d0df4e8..069b055 100755..100644 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix @@ -36,6 +36,5 @@ }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix index de8151c..9ec08fd 100755..100644 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix @@ -97,5 +97,4 @@ security.acme.acceptTerms = true; security.acme.defaults.email = "root@rory.gay"; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/pantalaimon.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/pantalaimon.nix index 88b81a9..b5f7f77 100755..100644 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/pantalaimon.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/pantalaimon.nix @@ -12,6 +12,5 @@ }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-nginx/services/discordbots.nix b/host/Rory-nginx/services/discordbots.nix index 0775d95..93622e7 100755..100644 --- a/host/Rory-nginx/services/discordbots.nix +++ b/host/Rory-nginx/services/discordbots.nix @@ -9,5 +9,4 @@ botcore-v4.modules.users ]; - system.stateVersion = "22.11"; # DO NOT EDIT! } \ No newline at end of file diff --git a/host/Rory-nginx/services/matrix/conduit.nix b/host/Rory-nginx/services/matrix/conduit.nix index ab36263..3594244 100755..100644 --- a/host/Rory-nginx/services/matrix/conduit.nix +++ b/host/Rory-nginx/services/matrix/conduit.nix @@ -29,6 +29,6 @@ Group = "root"; }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! + } diff --git a/host/Rory-nginx/services/matrix/coturn.nix b/host/Rory-nginx/services/matrix/coturn.nix index 090f91d..427721a 100755..100644 --- a/host/Rory-nginx/services/matrix/coturn.nix +++ b/host/Rory-nginx/services/matrix/coturn.nix @@ -48,6 +48,6 @@ # turn_shared_secret = static-auth-secret; # turn_user_lifetime = "1h"; #}; - system.stateVersion = "22.11"; # DO NOT EDIT! + } diff --git a/host/Rory-nginx/services/matrix/draupnir.nix b/host/Rory-nginx/services/matrix/draupnir.nix index 9be989b..b5f5608 100755..100644 --- a/host/Rory-nginx/services/matrix/draupnir.nix +++ b/host/Rory-nginx/services/matrix/draupnir.nix @@ -42,6 +42,5 @@ }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-nginx/services/matrix/matrix-appservice-discord.nix b/host/Rory-nginx/services/matrix/matrix-appservice-discord.nix index 3f2225f..8c31e10 100755..100644 --- a/host/Rory-nginx/services/matrix/matrix-appservice-discord.nix +++ b/host/Rory-nginx/services/matrix/matrix-appservice-discord.nix @@ -21,6 +21,6 @@ }; }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! + } diff --git a/host/Rory-nginx/services/matrix/root.nix b/host/Rory-nginx/services/matrix/root.nix index e9ce5c5..d624542 100755..100644 --- a/host/Rory-nginx/services/matrix/root.nix +++ b/host/Rory-nginx/services/matrix/root.nix @@ -10,5 +10,4 @@ ./conduit.nix ]; - system.stateVersion = "22.11"; # DO NOT EDIT! } \ No newline at end of file diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix index f9b746d..d41072e 100755..100644 --- a/host/Rory-nginx/services/matrix/synapse.nix +++ b/host/Rory-nginx/services/matrix/synapse.nix @@ -36,7 +36,6 @@ }; }; - # Alicia - figure this out later... #registration_shared_secret = builtins.exec ["cat" "/dev/urandom" "|" "tr" "-dc" "a-zA-Z0-9" "|" "fold" "-w" "256" "|" "head" "-n" "1"]; registration_shared_secret_path = "/var/lib/matrix-synapse/registration_shared_secret.txt"; @@ -205,6 +204,6 @@ WorkingDirectory = "/var/lib/matrix-synapse"; }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! + } diff --git a/host/Rory-nginx/services/nginx/boorunav.com/root.nix b/host/Rory-nginx/services/nginx/boorunav.com/root.nix index a859950..a859950 100755..100644 --- a/host/Rory-nginx/services/nginx/boorunav.com/root.nix +++ b/host/Rory-nginx/services/nginx/boorunav.com/root.nix diff --git a/host/Rory-nginx/services/nginx/catgirlsaresexy.com/root.nix b/host/Rory-nginx/services/nginx/catgirlsaresexy.com/root.nix index e28c2e0..e28c2e0 100755..100644 --- a/host/Rory-nginx/services/nginx/catgirlsaresexy.com/root.nix +++ b/host/Rory-nginx/services/nginx/catgirlsaresexy.com/root.nix diff --git a/host/Rory-nginx/services/nginx/nginx.nix b/host/Rory-nginx/services/nginx/nginx.nix index ac1f29b..4364a2b 100755..100644 --- a/host/Rory-nginx/services/nginx/nginx.nix +++ b/host/Rory-nginx/services/nginx/nginx.nix @@ -90,5 +90,4 @@ #gitfs ]; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-nginx/services/nginx/rory.boo/tunnel.nix b/host/Rory-nginx/services/nginx/rory.boo/tunnel.nix index b50823b..b50823b 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.boo/tunnel.nix +++ b/host/Rory-nginx/services/nginx/rory.boo/tunnel.nix diff --git a/host/Rory-nginx/services/nginx/rory.gay/bots.nix b/host/Rory-nginx/services/nginx/rory.gay/bots.nix index 7652dc9..7652dc9 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/bots.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/bots.nix diff --git a/host/Rory-nginx/services/nginx/rory.gay/conduit.nix b/host/Rory-nginx/services/nginx/rory.gay/conduit.nix index 03072af..5d96342 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/conduit.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/conduit.nix @@ -23,7 +23,6 @@ }; #locations."/_synapse/client".proxyPass = "http://192.168.1.5:8008"; - locations."= /.well-known/matrix/server".extraConfig = '' more_set_headers 'Content-Type application/json'; more_set_headers 'Access-Control-Allow-Origin *'; diff --git a/host/Rory-nginx/services/nginx/rory.gay/git.nix b/host/Rory-nginx/services/nginx/rory.gay/git.nix index 812e946..812e946 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/git.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/git.nix diff --git a/host/Rory-nginx/services/nginx/rory.gay/lfs.nix b/host/Rory-nginx/services/nginx/rory.gay/lfs.nix index f944eea..f944eea 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/lfs.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/lfs.nix diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrix-bak.nix b/host/Rory-nginx/services/nginx/rory.gay/matrix-bak.nix index 2780979..2780979 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/matrix-bak.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/matrix-bak.nix diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrix.nix b/host/Rory-nginx/services/nginx/rory.gay/matrix.nix index 46514a2..c7b3e5d 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/matrix.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/matrix.nix @@ -148,7 +148,6 @@ proxyPass = "http://stream_writer_typing_stream_workers_upstream$request_uri"; }; - # https://matrix-org.github.io/synapse/latest/workers.html#the-to_device-stream locations."~ ^/_matrix/client/(r0|v3|unstable)/sendToDevice/" = { proxyPass = "http://stream_writer_to_device_stream_workers_upstream$request_uri"; @@ -245,7 +244,6 @@ proxyPass = "http://generic_workers_upstream$request_uri"; }; - ##### media repo # https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository @@ -271,7 +269,6 @@ proxyPass = "http://media_repository_workers_upstream$request_uri"; }; - #locations."/" = { #resolver 127.0.0.11 valid=5s; #set $backend "matrix-synapse:8048"; diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrixunittests.nix b/host/Rory-nginx/services/nginx/rory.gay/matrixunittests.nix index 65a2c6c..65a2c6c 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/matrixunittests.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/matrixunittests.nix diff --git a/host/Rory-nginx/services/nginx/rory.gay/mru.nix b/host/Rory-nginx/services/nginx/rory.gay/mru.nix index b65bf51..b65bf51 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/mru.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/mru.nix diff --git a/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix b/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix index 05f1a0c..05f1a0c 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix diff --git a/host/Rory-nginx/services/nginx/rory.gay/root.nix b/host/Rory-nginx/services/nginx/rory.gay/root.nix index 9e96a4f..9e96a4f 100755..100644 --- a/host/Rory-nginx/services/nginx/rory.gay/root.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/root.nix diff --git a/host/Rory-nginx/services/nginx/sugarcanemc.org/root.nix b/host/Rory-nginx/services/nginx/sugarcanemc.org/root.nix index 772cde1..772cde1 100755..100644 --- a/host/Rory-nginx/services/nginx/sugarcanemc.org/root.nix +++ b/host/Rory-nginx/services/nginx/sugarcanemc.org/root.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/awooradio.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/awooradio.nix index af52ec8..af52ec8 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/awooradio.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/awooradio.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/files.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/files.nix index 45de296..45de296 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/files.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/files.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/git.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/git.nix index 3006b57..3006b57 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/git.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/git.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/http.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/http.nix index a4184ac..a4184ac 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/http.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/http.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/lfs.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/lfs.nix index 8e7b51f..8e7b51f 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/lfs.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/lfs.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix index bd23f10..bd23f10 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/search.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/search.nix index 6298ba8..6298ba8 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/search.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/search.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/sentry.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/sentry.nix index 96ffe4b..96ffe4b 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/sentry.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/sentry.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/siliconheaven.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/siliconheaven.nix index 57af15e..57af15e 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/siliconheaven.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/siliconheaven.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/spigotav.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/spigotav.nix index ef98887..ef98887 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/spigotav.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/spigotav.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/terra.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/terra.nix index 58b7c14..58b7c14 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/terra.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/terra.nix diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/vives.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/vives.nix index 3fc280c..3fc280c 100755..100644 --- a/host/Rory-nginx/services/nginx/thearcanebrony.net/vives.nix +++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/vives.nix diff --git a/host/Rory-nginx/services/postgres.nix b/host/Rory-nginx/services/postgres.nix index d5acd3c..26ceed7 100755..100644 --- a/host/Rory-nginx/services/postgres.nix +++ b/host/Rory-nginx/services/postgres.nix @@ -30,6 +30,5 @@ }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/host/Rory-wsl/configuration.nix b/host/Rory-wsl/configuration.nix new file mode 100644 index 0000000..35eaff5 --- /dev/null +++ b/host/Rory-wsl/configuration.nix @@ -0,0 +1,46 @@ +{ lib, pkgs, config, modulesPath, ... }: + +{ + wsl = { + enable = true; + automountPath = "/mnt"; + defaultUser = "nixos"; + startMenuLaunchers = true; + + # Enable native Docker support + # docker-native.enable = true; + + # Enable integration with Docker Desktop (needs to be installed) + # docker-desktop.enable = true; + + }; + + nix.extraOptions = '' + experimental-features = nix-command flakes + ''; + + environment.systemPackages = with pkgs; [ + wget + neofetch + lnav + git + lsd + duf + htop + btop + kitty.terminfo + jq + yq + pv + dig + cinnamon.nemo + gnome-console + kitty + feh + vimPlugins.vim-nix + neovim + tree + ]; + + system.stateVersion = "23.05"; +} diff --git a/host/RoryNix/configuration.nix b/host/RoryNix/configuration.nix index 1f86609..26c1c25 100644 --- a/host/RoryNix/configuration.nix +++ b/host/RoryNix/configuration.nix @@ -80,7 +80,6 @@ }; }; - sound.enable = true; hardware.pulseaudio.enable = false; @@ -161,7 +160,6 @@ sudo.wheelNeedsPassword = false; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } |