❄️ my cosy setup powered by nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

o

diogo.lol a53e59fc f6968f21

verified
+22 -133
+1 -1
home/diogo/programs/neovim/init.lua
··· 193 193 194 194 just = {}, 195 195 196 - dockerls = {}, 196 + -- dockerls = {}, 197 197 198 198 astro = {}, 199 199
+2 -2
home/diogo/programs/zed.nix
··· 22 22 extensions = [ 23 23 "git-firefly" 24 24 "vue" 25 - "dockerfile" 26 - "docker-compose" 25 + # "dockerfile" 26 + # "docker-compose" 27 27 "nix" 28 28 "discord-presence" 29 29 "astro"
+13 -4
home/diogo/programs/zen.nix
··· 43 43 "https://proton.me" 44 44 "https://bitwarden.com" 45 45 "https://bitwarden.eu" 46 - "https://fawni.org" 47 - "https://fawni.net" 46 + "https://catsky.social" 47 + "https://gandi.net" 48 + "https://stripe.com" 48 49 "http://10.100.0.1" 49 50 "http://[fd00:1:1:1::1]" 50 51 ]; ··· 57 58 DisableFirefoxAccounts = true; 58 59 DNSOverHTTPS = { 59 60 Enabled = true; 60 - ProviderURL = "https://security.cloudflare-dns.com/dns-query"; 61 + ProviderURL = "https://dns.quad9.net/dns-query"; 61 62 Fallback = true; 62 63 Locked = true; 63 64 }; ··· 81 82 "https://addons.mozilla.org/firefox/downloads/latest/styl-us/latest.xpi" 82 83 "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" 83 84 "https://addons.mozilla.org/firefox/downloads/latest/refined-github-/latest.xpi" 85 + "https://addons.mozilla.org/firefox/downloads/latest/web-scrobbler/latest.xpi" 84 86 ]; 85 87 }; 86 88 SearchEngines = { ··· 126 128 "Bluesky" = { 127 129 id = "f58aa4ce-5915-41c8-b117-b11c32531198"; 128 130 workspace = spaces."Personal".id; 129 - url = "https://bsky.app"; 131 + url = "https://catsky.social"; 130 132 position = 103; 131 133 isEssential = true; 132 134 }; ··· 164 166 workspace = spaces."Personal".id; 165 167 url = "https://hub.upcloud.com"; 166 168 position = 108; 169 + isEssential = false; 170 + }; 171 + "Gandi" = { 172 + id = "53418beb-79a3-41d5-b0ba-75d3a48188b5"; 173 + workspace = spaces."Personal".id; 174 + url = "https://admin.gandi.net"; 175 + position = 109; 167 176 isEssential = false; 168 177 }; 169 178 };
+1 -1
home/diogo/system/ssh.nix
··· 16 16 }; 17 17 18 18 "lumi".hostname = "51.75.255.245"; 19 - "tulip".hostname = "94.237.54.60"; 19 + "tulip".hostname = "80.69.173.255"; 20 20 21 21 "codeberg.org" = { 22 22 user = "git";
+4 -6
modules/darwin/brew.nix
··· 46 46 taps = builtins.attrNames config.nix-homebrew.taps; 47 47 48 48 masApps = { 49 - "TestFlight" = 899247664; 50 - # "WhatsApp" = 310633997; 51 - "WireGuard" = 1451685025; 52 - "Bitwarden" = 1352778147; 49 + # "TestFlight" = 899247664; 50 + # "WhatsApp" = 310633997; 51 + # "WireGuard" = 1451685025; 52 + # "Bitwarden" = 1352778147; 53 53 }; 54 54 55 55 brews = [ 56 - "docker" 57 - "docker-compose" 58 56 "bitwarden-cli" 59 57 ]; 60 58
+1 -1
modules/darwin/preferences.nix
··· 9 9 mru-spaces = false; 10 10 persistent-apps = [ 11 11 { 12 - app = "/nix/store/mdmg740y6983qw34nd85ljbi7z0g3n7w-zen-beta-1.17.6b/Applications/Zen Browser (Beta).app"; 12 + app = "/nix/store/5f1ghi3sgdpv5m9d8jhi4i3434rqkp7w-zen-beta-1.17.6b/Applications/Zen Browser (Beta).app"; 13 13 } 14 14 { app = "/System/Applications/Mail.app"; } 15 15 { app = "/nix/store/cb89wc26l0fzaywsr1y8ds0vwsxi9mr0-ghostty-bin-1.2.3/Applications/Ghostty.app"; }
-3
modules/nixos/services/default.nix
··· 5 5 ./postgresql.nix 6 6 ./website.nix 7 7 ./anubis.nix 8 - # ./fawni.nix 9 - ./pocket-id.nix 10 - ./uptime-kuma.nix 11 8 ./pds.nix 12 9 ]; 13 10 }
-33
modules/nixos/services/fawni.nix
··· 1 - { 2 - lib, 3 - self, 4 - config, 5 - inputs, 6 - ... 7 - }: 8 - let 9 - inherit (lib) mkIf; 10 - inherit (self.lib) mkServiceOption; 11 - 12 - cfg = config.sys.services.fawni; 13 - in 14 - { 15 - imports = [ 16 - inputs.fawni.nixosModules.default 17 - ]; 18 - 19 - options.sys.services.fawni = mkServiceOption "fawni" { 20 - domain = "fawni.org"; 21 - }; 22 - 23 - config = mkIf cfg.enable { 24 - services = { 25 - fawni.enable = true; 26 - 27 - caddy.virtualHosts.fawni.serverAliases = [ 28 - cfg.domain 29 - "www.${cfg.domain}" 30 - ]; 31 - }; 32 - }; 33 - }
-49
modules/nixos/services/pocket-id.nix
··· 1 - { 2 - lib, 3 - self, 4 - config, 5 - ... 6 - }: 7 - let 8 - inherit (lib) mkIf; 9 - inherit (self.lib) mkServiceOption; 10 - 11 - cfg = config.sys.services.pocket-id; 12 - in 13 - { 14 - options.sys.services.pocket-id = mkServiceOption "pocket-id" { 15 - domain = "id.${config.networking.domain}"; 16 - port = 1411; 17 - }; 18 - 19 - config = mkIf cfg.enable { 20 - sops.secrets.pocket-id = { 21 - sopsFile = "${self}/secrets/services/pocket-id.yaml"; 22 - owner = "pocket-id"; 23 - group = "pocket-id"; 24 - }; 25 - 26 - services = { 27 - pocket-id = { 28 - enable = true; 29 - 30 - settings = { 31 - APP_URL = "https://${cfg.domain}"; 32 - DB_PROVIDER = "postgres"; 33 - PORT = cfg.port; 34 - ANALYTICS_DISABLED = true; 35 - UI_CONFIG_DISABLED = true; 36 - APP_NAME = "Fawni ID"; 37 - ALLOW_USER_SIGNUPS = "withToken"; 38 - ACCENT_COLOR = "#9A4CF6"; 39 - EMAIL_API_KEY_EXPIRATION_ENABLED = true; 40 - EMAILS_VERIFIED = true; 41 - }; 42 - 43 - environmentFile = config.sops.secrets.pocket-id.path; 44 - }; 45 - 46 - caddy.virtualHosts.${cfg.domain}.extraConfig = ''reverse_proxy ${cfg.host}:${toString cfg.port}''; 47 - }; 48 - }; 49 - }
-33
modules/nixos/services/uptime-kuma.nix
··· 1 - { 2 - lib, 3 - self, 4 - config, 5 - ... 6 - }: 7 - let 8 - inherit (lib) mkIf; 9 - inherit (self.lib) mkServiceOption; 10 - 11 - cfg = config.sys.services.uptime-kuma; 12 - in 13 - { 14 - options.sys.services.uptime-kuma = mkServiceOption "uptime-kuma" { 15 - domain = "status.${config.networking.domain}"; 16 - port = 3888; 17 - }; 18 - 19 - config = mkIf cfg.enable { 20 - services = { 21 - uptime-kuma = { 22 - enable = true; 23 - 24 - settings = { 25 - HOST = cfg.host; 26 - PORT = toString cfg.port; 27 - }; 28 - }; 29 - 30 - caddy.virtualHosts.${cfg.domain}.extraConfig = ''reverse_proxy ${cfg.host}:${toString cfg.port}''; 31 - }; 32 - }; 33 - }