diff options
author | tzlil <tzlils@protonmail.com> | 2024-02-26 19:43:39 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2024-02-26 19:43:39 +0200 |
commit | 08c4cb2247461fe36b2e7d7456aef0d17acd26af (patch) | |
tree | 96801ac3d455833e7cfd07027a5bd9f2f393308f /hosts | |
parent | 00db7aca343a925220b17223b02dfb79b05f597c (diff) |
idk what tehf uck i changed
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/navi/default.nix | 35 | ||||
-rw-r--r-- | hosts/vps/services/matrix.nix | 9 | ||||
-rw-r--r-- | hosts/vps/services/website.nix | 6 |
3 files changed, 34 insertions, 16 deletions
diff --git a/hosts/navi/default.nix b/hosts/navi/default.nix index 22f253b..bf75cf0 100644 --- a/hosts/navi/default.nix +++ b/hosts/navi/default.nix @@ -102,7 +102,7 @@ "/var/lib/docker" ]; users.tzlil = { - directories = [".config/SchildiChat" ".local/share/Terraria" ".local/share/Steam"]; + directories = [".config/SchildiChat" ".local/share/Terraria" ".local/share/Steam" ".config/keepassxc" ".local/share/cinny"]; }; }; @@ -118,15 +118,20 @@ ${lib.getExe mullvad} account login < ${config.age.secrets.mullvad.path} ${lib.getExe mullvad} auto-connect set on ${lib.getExe mullvad} lockdown-mode set on - ${lib.getExe mullvad} tunnel ipv6 set on + ${lib.getExe mullvad} tunnel set ipv6 on ''; home-manager.users.tzlil = { + services.gnome-keyring = { + enable = true; # for nheko + components = ["secrets"]; + }; home.packages = [ - pkgs.schildichat-desktop-wayland + pkgs.nheko pkgs.keepassxc pkgs.gtkcord4 pkgs.cmst + pkgs.nheko # (pkgs.stdenv.mkDerivation rec { # name = "pragmata"; @@ -175,7 +180,7 @@ # }) # pkgs.apl386 - (pkgs.cutter.withPlugins (ps: with ps; [rz-ghidra sigdb])) + #(pkgs.cutter.withPlugins (ps: with ps; [rz-ghidra sigdb])) (pkgs.discord.override { withOpenASAR = true; @@ -188,14 +193,15 @@ # settings.colors.webpage.darkmode.enabled = true; # }; - xdg.configFile."keepassxc/keepassxc.ini".text = lib.generators.toINI {} { - General = {ConfigVersion = 2;}; - Browser = { - AlwaysAllowAccess = true; - Enabled = true; - }; - GUI = {ApplicationTheme = "dark";}; - }; + #xdg.configFile."keepassxc/keepassxc.ini".text = lib.generators.toINI {} { + # General = {ConfigVersion = 2;}; + # Browser = { + # AlwaysAllowAccess = true; + # Enabled = true; + # }; + # GUI = {ApplicationTheme = "dark";}; + #}; + home.file.".cache/keepassxc/keepassxc.ini".text = lib.generators.toINI {} { General = {LastActiveDatabase = "${config.services.syncthing.dataDir}/passwords/passwords.kdbx";}; }; @@ -290,7 +296,12 @@ virtualisation.docker.enable = true; virtualisation.docker.storageDriver = "btrfs"; + + # rtl sdr + hardware.rtl-sdr.enable = true; + users.users.tzlil.extraGroups = [ "plugdev" ]; + services.udev.packages = [ pkgs.usb-blaster-udev-rules ]; # pragmata # home-manager.users.tzlil.home.packages = [ diff --git a/hosts/vps/services/matrix.nix b/hosts/vps/services/matrix.nix index a3be7a2..a56b489 100644 --- a/hosts/vps/services/matrix.nix +++ b/hosts/vps/services/matrix.nix @@ -136,10 +136,11 @@ ''; # for clients virtualHosts."tzlil.net".extraConfig = '' - reverse_proxy /_matrix/* localhost:8008 - header /.well-known/matrix/* Content-Type application/json - header /.well-known/matrix/* Access-Control-Allow-Origin * - respond /.well-known/matrix/server `{"m.server": "tzlil.net"}` + reverse_proxy /_matrix/* localhost:8008 + header /.well-known/matrix/* Content-Type application/json + header /.well-known/matrix/* Access-Control-Allow-Origin * + respond /.well-known/matrix/server `{"m.server": "tzlil.net"}` + respond /.well-known/matrix/client `{"m.homeserver": {"base_url": "https://tzlil.net"}}` ''; }; networking.firewall.allowedTCPPorts = [8448]; diff --git a/hosts/vps/services/website.nix b/hosts/vps/services/website.nix index 95dea73..1cdd33e 100644 --- a/hosts/vps/services/website.nix +++ b/hosts/vps/services/website.nix @@ -48,6 +48,10 @@ a { color: #7878ff; } a:visited { color: #6464fa; } } + .mail:before { + content: attr(b) "\0040" attr(a); + unicode-bidi: bidi-override; + direction: rtl; </style> <pre> ~?~+=I?~~IIIII++,: .?= .,I=O8OZ.DNNO, ZD7:::=.? ,,:,,I,,:,~+?II?I?II?=+=~+7$ZO @@ -75,6 +79,8 @@ <a href="https://fm.tzlil.net">fm.tzlil.net</a> music <a href="https://git.tzlil.net">git.tzlil.net</a> code <a href="/arXiv">arXiv randomizer</a> + matrix @tzlil:tzlil.net + email tzlils protonmail com </pre> ''} / file_server |