From 8f1f6c1c0930eb527b6500289f1c75928e7c2589 Mon Sep 17 00:00:00 2001 From: "Emma (Rory&)" Date: Thu, 28 Sep 2023 14:55:08 +0200 Subject: Formatting changes --- .gitattributes | 1 + .gitignore | 0 README.md | 1 + build.sh | 0 flake.nix | 16 +++++++- host/Rory-desktop/configuration.nix | 2 - host/Rory-devenv/configuration.nix | 0 host/Rory-devenv/software.nix | 1 - host/Rory-fosscord/configuration.nix | 0 host/Rory-fosscord/software.nix | 5 +-- host/Rory-nginx/configuration.nix | 0 host/Rory-nginx/post-rebuild.sh | 3 -- .../containers/matrixunittests/container.nix | 0 .../services/containers/matrixunittests/root.nix | 2 +- .../matrixunittests/services/conduit.nix | 1 - .../containers/matrixunittests/services/nginx.nix | 1 - .../matrixunittests/services/pantalaimon.nix | 1 - .../containers/pluralcontactbotpoc/container.nix | 0 .../containers/pluralcontactbotpoc/root.nix | 2 +- .../pluralcontactbotpoc/services/conduit.nix | 1 - .../pluralcontactbotpoc/services/nginx.nix | 1 - .../pluralcontactbotpoc/services/pantalaimon.nix | 1 - host/Rory-nginx/services/discordbots.nix | 1 - host/Rory-nginx/services/matrix/conduit.nix | 2 +- host/Rory-nginx/services/matrix/coturn.nix | 2 +- host/Rory-nginx/services/matrix/draupnir.nix | 1 - .../services/matrix/matrix-appservice-discord.nix | 2 +- host/Rory-nginx/services/matrix/root.nix | 1 - host/Rory-nginx/services/matrix/synapse.nix | 3 +- .../services/nginx/boorunav.com/root.nix | 0 .../services/nginx/catgirlsaresexy.com/root.nix | 0 host/Rory-nginx/services/nginx/nginx.nix | 1 - host/Rory-nginx/services/nginx/rory.boo/tunnel.nix | 0 host/Rory-nginx/services/nginx/rory.gay/bots.nix | 0 .../Rory-nginx/services/nginx/rory.gay/conduit.nix | 1 - host/Rory-nginx/services/nginx/rory.gay/git.nix | 0 host/Rory-nginx/services/nginx/rory.gay/lfs.nix | 0 .../services/nginx/rory.gay/matrix-bak.nix | 0 host/Rory-nginx/services/nginx/rory.gay/matrix.nix | 3 -- .../services/nginx/rory.gay/matrixunittests.nix | 0 host/Rory-nginx/services/nginx/rory.gay/mru.nix | 0 host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix | 0 host/Rory-nginx/services/nginx/rory.gay/root.nix | 0 .../services/nginx/sugarcanemc.org/root.nix | 0 .../nginx/thearcanebrony.net/awooradio.nix | 0 .../services/nginx/thearcanebrony.net/files.nix | 0 .../services/nginx/thearcanebrony.net/git.nix | 0 .../services/nginx/thearcanebrony.net/http.nix | 0 .../services/nginx/thearcanebrony.net/lfs.nix | 0 .../services/nginx/thearcanebrony.net/root.nix | 0 .../services/nginx/thearcanebrony.net/search.nix | 0 .../services/nginx/thearcanebrony.net/sentry.nix | 0 .../nginx/thearcanebrony.net/siliconheaven.nix | 0 .../services/nginx/thearcanebrony.net/spigotav.nix | 0 .../services/nginx/thearcanebrony.net/terra.nix | 0 .../services/nginx/thearcanebrony.net/vives.nix | 0 host/Rory-nginx/services/postgres.nix | 1 - host/Rory-wsl/configuration.nix | 46 ++++++++++++++++++++++ host/RoryNix/configuration.nix | 2 - modules/base-client.nix | 1 - modules/base-server.nix | 1 - modules/base.nix | 2 - modules/environments/home.nix | 2 +- modules/extra-substituters.nix | 1 - modules/packages/gitfs.nix | 0 modules/packages/vim.nix | 0 modules/users/Rory.nix | 1 - modules/users/chris.nix | 0 modules/users/db2k.nix | 0 modules/users/levi.nix | 0 rebuild.sh | 0 update.sh | 0 72 files changed, 71 insertions(+), 42 deletions(-) create mode 100644 .gitattributes mode change 100755 => 100644 .gitignore create mode 100644 README.md mode change 100755 => 100644 build.sh mode change 100755 => 100644 flake.nix mode change 100755 => 100644 host/Rory-devenv/configuration.nix mode change 100755 => 100644 host/Rory-devenv/software.nix mode change 100755 => 100644 host/Rory-fosscord/configuration.nix mode change 100755 => 100644 host/Rory-fosscord/software.nix mode change 100755 => 100644 host/Rory-nginx/configuration.nix mode change 100755 => 100644 host/Rory-nginx/post-rebuild.sh mode change 100755 => 100644 host/Rory-nginx/services/containers/matrixunittests/container.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/matrixunittests/root.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/matrixunittests/services/pantalaimon.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix mode change 100755 => 100644 host/Rory-nginx/services/containers/pluralcontactbotpoc/services/pantalaimon.nix mode change 100755 => 100644 host/Rory-nginx/services/discordbots.nix mode change 100755 => 100644 host/Rory-nginx/services/matrix/conduit.nix mode change 100755 => 100644 host/Rory-nginx/services/matrix/coturn.nix mode change 100755 => 100644 host/Rory-nginx/services/matrix/draupnir.nix mode change 100755 => 100644 host/Rory-nginx/services/matrix/matrix-appservice-discord.nix mode change 100755 => 100644 host/Rory-nginx/services/matrix/root.nix mode change 100755 => 100644 host/Rory-nginx/services/matrix/synapse.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/boorunav.com/root.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/catgirlsaresexy.com/root.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/nginx.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.boo/tunnel.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/bots.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/conduit.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/git.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/lfs.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/matrix-bak.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/matrix.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/matrixunittests.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/mru.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/rory.gay/root.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/sugarcanemc.org/root.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/awooradio.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/files.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/git.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/http.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/lfs.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/search.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/sentry.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/siliconheaven.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/spigotav.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/terra.nix mode change 100755 => 100644 host/Rory-nginx/services/nginx/thearcanebrony.net/vives.nix mode change 100755 => 100644 host/Rory-nginx/services/postgres.nix create mode 100644 host/Rory-wsl/configuration.nix mode change 100755 => 100644 modules/base-client.nix mode change 100755 => 100644 modules/base-server.nix mode change 100755 => 100644 modules/base.nix mode change 100755 => 100644 modules/environments/home.nix mode change 100755 => 100644 modules/packages/gitfs.nix mode change 100755 => 100644 modules/packages/vim.nix mode change 100755 => 100644 modules/users/Rory.nix mode change 100755 => 100644 modules/users/chris.nix mode change 100755 => 100644 modules/users/db2k.nix mode change 100755 => 100644 modules/users/levi.nix mode change 100755 => 100644 rebuild.sh mode change 100755 => 100644 update.sh diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..94f480d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf \ No newline at end of file diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/README.md b/README.md new file mode 100644 index 0000000..7f4e0c5 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +`^\s?\n(\s?\n)+` -> `\n`: REPLACE ALL MULTIPLE NEWLINES \ No newline at end of file diff --git a/build.sh b/build.sh old mode 100755 new mode 100644 diff --git a/flake.nix b/flake.nix old mode 100755 new mode 100644 index 965913c..1a4eb5f --- a/flake.nix +++ b/flake.nix @@ -27,9 +27,10 @@ # will probably also require you to always build from source. inputs.nixpkgs.follows = "nixpkgs"; }; + nixos-wsl.url = "github:nix-community/NixOS-WSL"; }; - outputs = { self, nixpkgs, nixpkgs-RoryNix, nixpkgs-rory, home-manager, botcore-v4, conduit }: { + outputs = { self, nixpkgs, nixpkgs-RoryNix, nixpkgs-rory, home-manager, botcore-v4, conduit, nixos-wsl }: { nixosConfigurations = { Rory-nginx = nixpkgs-rory.lib.nixosSystem { system = "x86_64-linux"; @@ -55,6 +56,8 @@ inherit home-manager; }; }; + + #STABLE RoryNix = nixpkgs-RoryNix.lib.nixosSystem { system = "i686-linux"; modules = [ @@ -63,6 +66,17 @@ ({...}: { nix.registry.nixpkgs.flake = nixpkgs-RoryNix; }) ]; }; + + #WSL + Rory-wsl = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + nixos-wsl.nixosModules.default + ./host/Rory-wsl/configuration.nix + ./hardware-configuration.nix + home-manager.nixosModules.home-manager + ]; + }; }; }; } 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 old mode 100755 new mode 100644 diff --git a/host/Rory-devenv/software.nix b/host/Rory-devenv/software.nix old mode 100755 new mode 100644 index af07bdf..93b430e --- 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 old mode 100755 new mode 100644 diff --git a/host/Rory-fosscord/software.nix b/host/Rory-fosscord/software.nix old mode 100755 new mode 100644 index 78f4412..231b74d --- 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 old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/post-rebuild.sh b/host/Rory-nginx/post-rebuild.sh old mode 100755 new mode 100644 index 0ea1293..9b0c17c --- 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 old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/containers/matrixunittests/root.nix b/host/Rory-nginx/services/containers/matrixunittests/root.nix old mode 100755 new mode 100644 index 6ee6f26..b42a38a --- 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 old mode 100755 new mode 100644 index a617eb2..8e49043 --- 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 old mode 100755 new mode 100644 index 817822f..d6697be --- 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 old mode 100755 new mode 100644 index 88b81a9..b5f7f77 --- 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 old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/root.nix old mode 100755 new mode 100644 index 6ee6f26..b42a38a --- 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 old mode 100755 new mode 100644 index d0df4e8..069b055 --- 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 old mode 100755 new mode 100644 index de8151c..9ec08fd --- 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 old mode 100755 new mode 100644 index 88b81a9..b5f7f77 --- 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 old mode 100755 new mode 100644 index 0775d95..93622e7 --- 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 old mode 100755 new mode 100644 index ab36263..3594244 --- 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 old mode 100755 new mode 100644 index 090f91d..427721a --- 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 old mode 100755 new mode 100644 index 9be989b..b5f5608 --- 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 old mode 100755 new mode 100644 index 3f2225f..8c31e10 --- 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 old mode 100755 new mode 100644 index e9ce5c5..d624542 --- 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 old mode 100755 new mode 100644 index f9b746d..d41072e --- 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 old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/catgirlsaresexy.com/root.nix b/host/Rory-nginx/services/nginx/catgirlsaresexy.com/root.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/nginx.nix b/host/Rory-nginx/services/nginx/nginx.nix old mode 100755 new mode 100644 index ac1f29b..4364a2b --- 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 old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/rory.gay/bots.nix b/host/Rory-nginx/services/nginx/rory.gay/bots.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/rory.gay/conduit.nix b/host/Rory-nginx/services/nginx/rory.gay/conduit.nix old mode 100755 new mode 100644 index 03072af..5d96342 --- 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 old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/rory.gay/lfs.nix b/host/Rory-nginx/services/nginx/rory.gay/lfs.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrix-bak.nix b/host/Rory-nginx/services/nginx/rory.gay/matrix-bak.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrix.nix b/host/Rory-nginx/services/nginx/rory.gay/matrix.nix old mode 100755 new mode 100644 index 46514a2..c7b3e5d --- 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 old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/rory.gay/mru.nix b/host/Rory-nginx/services/nginx/rory.gay/mru.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix b/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/rory.gay/root.nix b/host/Rory-nginx/services/nginx/rory.gay/root.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/sugarcanemc.org/root.nix b/host/Rory-nginx/services/nginx/sugarcanemc.org/root.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/awooradio.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/awooradio.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/files.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/files.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/git.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/git.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/http.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/http.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/lfs.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/lfs.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/search.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/search.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/sentry.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/sentry.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/siliconheaven.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/siliconheaven.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/spigotav.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/spigotav.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/terra.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/terra.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/vives.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/vives.nix old mode 100755 new mode 100644 diff --git a/host/Rory-nginx/services/postgres.nix b/host/Rory-nginx/services/postgres.nix old mode 100755 new mode 100644 index d5acd3c..26ceed7 --- 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! } diff --git a/modules/base-client.nix b/modules/base-client.nix old mode 100755 new mode 100644 index 1f482ee..78988b9 --- a/modules/base-client.nix +++ b/modules/base-client.nix @@ -57,5 +57,4 @@ sudo.wheelNeedsPassword = false; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/modules/base-server.nix b/modules/base-server.nix old mode 100755 new mode 100644 index e579c6d..8986ee3 --- a/modules/base-server.nix +++ b/modules/base-server.nix @@ -56,7 +56,6 @@ nix.daemonIOSchedClass = lib.mkDefault "idle"; nix.daemonIOSchedPriority = lib.mkDefault 7; - # My servers always use /dev/sda as boot disk... boot = { kernelPackages = pkgs.linuxPackages_latest; diff --git a/modules/base.nix b/modules/base.nix old mode 100755 new mode 100644 index 35a0b17..032df12 --- a/modules/base.nix +++ b/modules/base.nix @@ -67,7 +67,6 @@ }; }; - systemd = { sleep.extraConfig = '' AllowSuspend=no @@ -112,5 +111,4 @@ sudo.wheelNeedsPassword = false; }; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/modules/environments/home.nix b/modules/environments/home.nix old mode 100755 new mode 100644 index 8e90207..9408644 --- a/modules/environments/home.nix +++ b/modules/environments/home.nix @@ -37,5 +37,5 @@ ]; }; }; - system.stateVersion = "22.11"; # DO NOT EDIT! + } diff --git a/modules/extra-substituters.nix b/modules/extra-substituters.nix index e6b24a8..9eea94f 100644 --- a/modules/extra-substituters.nix +++ b/modules/extra-substituters.nix @@ -13,5 +13,4 @@ "numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE=" ]; - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/modules/packages/gitfs.nix b/modules/packages/gitfs.nix old mode 100755 new mode 100644 diff --git a/modules/packages/vim.nix b/modules/packages/vim.nix old mode 100755 new mode 100644 diff --git a/modules/users/Rory.nix b/modules/users/Rory.nix old mode 100755 new mode 100644 index daafb15..94b702f --- a/modules/users/Rory.nix +++ b/modules/users/Rory.nix @@ -30,7 +30,6 @@ }; }; - home.stateVersion = "22.11"; }; } diff --git a/modules/users/chris.nix b/modules/users/chris.nix old mode 100755 new mode 100644 diff --git a/modules/users/db2k.nix b/modules/users/db2k.nix old mode 100755 new mode 100644 diff --git a/modules/users/levi.nix b/modules/users/levi.nix old mode 100755 new mode 100644 diff --git a/rebuild.sh b/rebuild.sh old mode 100755 new mode 100644 diff --git a/update.sh b/update.sh old mode 100755 new mode 100644 -- cgit 1.4.1