From 6d5cb05722aacef88947691a5a48dd11ed11b903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sun, 8 Dec 2024 18:55:00 -0300 Subject: [PATCH 1/3] tablet: reduce drawing area --- user/sway/open-tablet-driver.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user/sway/open-tablet-driver.json b/user/sway/open-tablet-driver.json index 3b388a1..632cd6c 100644 --- a/user/sway/open-tablet-driver.json +++ b/user/sway/open-tablet-driver.json @@ -10,8 +10,8 @@ "Filters": [], "AbsoluteModeSettings": { "Display": { - "Width": 1920.0, - "Height": 1080.0, + "Width": 960.0, + "Height": 540.0, "X": 960.0, "Y": 540.0, "Rotation": 0.0 @@ -111,4 +111,4 @@ "LockUsableAreaDisplay": true, "LockUsableAreaTablet": true, "Tools": [] -} +} \ No newline at end of file From 7506219a1e0af394c9a31a98581ca984b54bd8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sun, 8 Dec 2024 18:55:43 -0300 Subject: [PATCH 2/3] firefox: remove mastodon simplified federation --- user/firefox.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/user/firefox.nix b/user/firefox.nix index 48c4fc9..063cd26 100644 --- a/user/firefox.nix +++ b/user/firefox.nix @@ -61,11 +61,6 @@ in hash = "sha256-ApCc+MNmW9Wd/5seV6npePQVEaszT/rhD9EB7HGiUb8="; }) - (pkgs.fetchFirefoxAddon { - name = "mastodon_simplified_federation"; - url = "https://addons.mozilla.org/firefox/downloads/file/4215691/mastodon_simplified_federation-2.2.xpi"; - hash = "sha256-4iU25chpjsdsMTPaa0yQOTWc9V9q1qFz6YV0lYtNjLA="; - }) (pkgs.fetchFirefoxAddon { name = "substitoot"; url = "https://addons.mozilla.org/firefox/downloads/file/4236602/substitoot-0.7.2.0.xpi"; From f755ab317244435519176363875ae55f21093276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sun, 8 Dec 2024 19:13:16 -0300 Subject: [PATCH 3/3] phantom: add lemmy --- hosts/phantom/default.nix | 1 + hosts/phantom/lemmy.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 hosts/phantom/lemmy.nix diff --git a/hosts/phantom/default.nix b/hosts/phantom/default.nix index e5570ee..45c27d7 100644 --- a/hosts/phantom/default.nix +++ b/hosts/phantom/default.nix @@ -11,6 +11,7 @@ ../../system/nix.nix ./hardware-config.nix ./mastodon.nix + ./lemmy.nix ./nextcloud.nix ./nginx.nix ./syncthing.nix diff --git a/hosts/phantom/lemmy.nix b/hosts/phantom/lemmy.nix new file mode 100644 index 0000000..61bf2e4 --- /dev/null +++ b/hosts/phantom/lemmy.nix @@ -0,0 +1,15 @@ +{ + services.lemmy = { + enable = true; + settings = { + hostname = "lemmy.lelgenio.com"; + }; + database.createLocally = true; + nginx.enable = true; + }; + + services.nginx.virtualHosts."lemmy.lelgenio.com" = { + enableACME = true; + forceSSL = true; + }; +}