diff options
| author | Fuwn <[email protected]> | 2024-10-03 01:16:26 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-03 01:16:26 -0700 |
| commit | 9989fe08f302f3197ffde8263d23d581e6ee7e74 (patch) | |
| tree | 6dc7bf3727ffaa55fb081ca412f0470e08e7205b /home/ebisu/fortune/networking | |
| parent | modules: reformat (diff) | |
| download | nixos-config-9989fe08f302f3197ffde8263d23d581e6ee7e74.tar.xz nixos-config-9989fe08f302f3197ffde8263d23d581e6ee7e74.zip | |
home: configure multi-host home setup
Diffstat (limited to 'home/ebisu/fortune/networking')
| -rw-r--r-- | home/ebisu/fortune/networking/default.nix | 12 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/glance.nix | 388 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/i2p.nix | 7 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/smolnet/bollux.nix | 6 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/smolnet/default.nix | 12 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/tools/default.nix | 28 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/tools/dns.nix | 9 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/tools/http/default.nix | 13 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/tools/http/httpie.nix | 7 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/tools/http/wget.nix | 8 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/tools/scanning.nix | 8 | ||||
| -rw-r--r-- | home/ebisu/fortune/networking/tools/shark.nix | 7 |
12 files changed, 0 insertions, 505 deletions
diff --git a/home/ebisu/fortune/networking/default.nix b/home/ebisu/fortune/networking/default.nix deleted file mode 100644 index 5474bdf..0000000 --- a/home/ebisu/fortune/networking/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs, ... }: -{ - imports = [ - ./smolnet - ./tools - ./glance.nix - ./i2p.nix - ]; - - home.packages = [ pkgs.i2p ]; - services.tailray.enable = true; -} diff --git a/home/ebisu/fortune/networking/glance.nix b/home/ebisu/fortune/networking/glance.nix deleted file mode 100644 index 80fa419..0000000 --- a/home/ebisu/fortune/networking/glance.nix +++ /dev/null @@ -1,388 +0,0 @@ -{ - services.glance = { - enable = true; - - settings = { - pages = [ - { - name = "Startpage"; - width = "slim"; - center-vertically = true; - - columns = [ - { - size = "full"; - - widgets = [ - { - type = "search"; - autofocus = true; - } - { - type = "monitor"; - cache = "1m"; - title = "Services"; - - sites = [ - { - title = "Fuwn.me"; - url = "https://fuwn.me"; - } - { - title = "due.moe"; - url = "https://due.moe"; - } - { - title = "Mayu"; - url = "https://mayu.due.moe"; - } - { - title = "bin"; - url = "https://bin.fuwn.me"; - } - { - title = "Analytics"; - url = "https://analytics.fuwn.me/"; - } - ]; - } - { - type = "bookmarks"; - - groups = [ - { - title = "General"; - links = [ - { - title = "Gmail"; - url = "https://mail.google.com/mail/u/0/"; - same-tab = true; - } - { - title = "Misskey.io"; - url = "https://misskey.io/"; - same-tab = true; - } - { - title = "Canvas"; - url = "https://oit.instructure.com/"; - same-tab = true; - } - { - title = "Blackboard"; - url = "https://mhcc.blackboard.com/"; - same-tab = true; - } - ]; - } - { - title = "Upkeep"; - links = [ - { - title = "GitHub"; - url = "https://github.com/"; - same-tab = true; - } - { - title = "MyNixOS"; - url = "https://mynixos.com/"; - same-tab = true; - } - { - title = "NixOS Search"; - url = "https://search.nixos.org/packages"; - same-tab = true; - } - { - title = "NextDNS"; - url = "https://my.nextdns.io/eb9d92/analytics"; - same-tab = true; - } - { - title = "Tailscale"; - url = "https://login.tailscale.com/admin"; - same-tab = true; - } - { - title = "Hetzner"; - url = "https://console.hetzner.cloud/projects"; - same-tab = true; - } - ]; - } - { - title = "Entertainment"; - links = [ - { - title = "YouTube"; - url = "https://www.youtube.com/"; - same-tab = true; - } - { - title = "AniList"; - url = "https://anilist.co/"; - same-tab = true; - } - { - title = "due.moe"; - url = "https://due.moe/"; - same-tab = true; - } - { - title = "MangaDex"; - url = "https://mangadex.org/"; - same-tab = true; - } - { - title = "Rawkuma"; - url = "https://rawkuma.com/"; - same-tab = true; - } - ]; - } - ]; - } - ]; - } - ]; - } - { - name = "Markets"; - - columns = [ - { - size = "small"; - - widgets = [ - { - type = "markets"; - title = "Indices"; - - markets = [ - { - symbol = "SPY"; - name = "S&P 500"; - } - { - symbol = "DX-Y.NYB"; - name = "Dollar Index"; - } - ]; - } - { - type = "markets"; - title = "Crypto"; - - markets = [ - { - symbol = "BTC-USD"; - name = "Bitcoin"; - } - { - symbol = "ETH-USD"; - name = "Ethereum"; - } - ]; - } - { - type = "markets"; - title = "Stocks"; - sort-by = "absolute-change"; - - markets = [ - { - symbol = "NVDA"; - name = "NVIDIA"; - } - { - symbol = "AAPL"; - name = "Apple"; - } - { - symbol = "MSFT"; - name = "Microsoft"; - } - { - symbol = "GOOGL"; - name = "Google"; - } - { - symbol = "AMD"; - name = "AMD"; - } - { - symbol = "RDDT"; - name = "Reddit"; - } - { - symbol = "AMZN"; - name = "Amazon"; - } - { - symbol = "TSLA"; - name = "Tesla"; - } - { - symbol = "INTC"; - name = "Intel"; - } - { - symbol = "META"; - name = "Meta"; - } - ]; - } - ]; - } - { - size = "full"; - - widgets = [ - { - type = "rss"; - title = "News"; - style = "horizontal-cards"; - - feeds = [ - { - url = "https://feeds.bloomberg.com/markets/news.rss"; - title = "Bloomberg"; - } - { - url = "https://moxie.foxbusiness.com/google-publisher/markets.xml"; - title = "Fox Business"; - } - { - url = "https://moxie.foxbusiness.com/google-publisher/technology.xml"; - title = "Fox Business"; - } - ]; - } - { - type = "group"; - - widgets = [ - { - type = "reddit"; - show-thumbnails = true; - subreddit = "technology"; - } - { - type = "reddit"; - show-thumbnails = true; - subreddit = "wallstreetbets"; - } - ]; - } - { - type = "videos"; - style = "grid-cards"; - collapse-after-rows = 3; - - channels = [ - "UCvSXMi2LebwJEM1s4bz5IBA" - "UCV6KDgJskWaEckne5aPA0aQ" - "UCAzhpt9DmG6PnHXjmJTvRGQ" - ]; - } - ]; - } - { - size = "small"; - - widgets = [ - { - type = "rss"; - title = "News"; - limit = 30; - collapse-after = 13; - - feeds = [ - { - url = "https://www.ft.com/technology?format=rss"; - title = "Financial Times"; - } - { - url = "https://feeds.a.dj.com/rss/RSSMarketsMain.xml"; - title = "Wall Street Journal"; - } - ]; - } - ]; - } - ]; - } - { - name = "Gaming"; - - columns = [ - { - size = "small"; - - widgets = [ - { - type = "twitch-top-games"; - limit = 20; - collapse-after = 13; - - exclude = [ - "just-chatting" - "pools-hot-tubs-and-beaches" - "music" - "art" - "asmr" - ]; - } - ]; - } - { - size = "full"; - - widgets = [ - { - type = "group"; - - widgets = [ - { - type = "reddit"; - show-thumbnails = true; - subreddit = "pcgaming"; - } - { - type = "reddit"; - subreddit = "games"; - } - ]; - } - { - type = "videos"; - style = "grid-cards"; - collapse-after-rows = 3; - - channels = [ - "UCNvzD7Z-g64bPXxGzaQaa4g" - "UCZ7AeeVbyslLM_8-nVy2B8Q" - "UCHDxYLv8iovIbhrfl16CNyg" - "UC9PBzalIcEQCsiIkq36PyUA" - ]; - } - ]; - } - { - size = "small"; - - widgets = [ - { - type = "reddit"; - subreddit = "gamingnews"; - limit = 7; - style = "vertical-cards"; - } - ]; - } - ]; - } - ]; - }; - }; -} diff --git a/home/ebisu/fortune/networking/i2p.nix b/home/ebisu/fortune/networking/i2p.nix deleted file mode 100644 index 77b72cc..0000000 --- a/home/ebisu/fortune/networking/i2p.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: -{ - home.packages = with pkgs; [ - # biglybt - xd - ]; -} diff --git a/home/ebisu/fortune/networking/smolnet/bollux.nix b/home/ebisu/fortune/networking/smolnet/bollux.nix deleted file mode 100644 index 0c8d110..0000000 --- a/home/ebisu/fortune/networking/smolnet/bollux.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ pkgs, inputs, ... }: -{ - home.packages = with pkgs; [ inputs.tsutsumi.packages.${pkgs.system}.bollux ]; - - xdg.configFile."bollux/bollux.conf".text = ''''; -} diff --git a/home/ebisu/fortune/networking/smolnet/default.nix b/home/ebisu/fortune/networking/smolnet/default.nix deleted file mode 100644 index fe69274..0000000 --- a/home/ebisu/fortune/networking/smolnet/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs, ... }: -{ - imports = [ ./bollux.nix ]; - - home.packages = with pkgs; [ - amfora - geopard - gmni - phetch - lagrange - ]; -} diff --git a/home/ebisu/fortune/networking/tools/default.nix b/home/ebisu/fortune/networking/tools/default.nix deleted file mode 100644 index b694fef..0000000 --- a/home/ebisu/fortune/networking/tools/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ pkgs, inputs, ... }: -{ - imports = [ - ./http - ./dns.nix - ./scanning.nix - ./shark.nix - ]; - - home.packages = with pkgs; [ - lftp - pwru - bmon - netcat-openbsd - nethogs - inetutils - speedtest-cli - traceroute - iptraf-ng - tcpdump - inputs.tsutsumi.packages.${pkgs.system}.bindtointerface - trayscale - bandwhich - bore-cli - hcloud - gping - ]; -} diff --git a/home/ebisu/fortune/networking/tools/dns.nix b/home/ebisu/fortune/networking/tools/dns.nix deleted file mode 100644 index f7e487a..0000000 --- a/home/ebisu/fortune/networking/tools/dns.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: -{ - home.packages = with pkgs; [ - dnsutils - whois - dogdns - doggo - ]; -} diff --git a/home/ebisu/fortune/networking/tools/http/default.nix b/home/ebisu/fortune/networking/tools/http/default.nix deleted file mode 100644 index 972b187..0000000 --- a/home/ebisu/fortune/networking/tools/http/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs, inputs, ... }: -{ - imports = [ - ./httpie.nix - ./wget.nix - ]; - - home.packages = with pkgs; [ - inputs.tsutsumi.packages.${pkgs.system}.yaak - curlie - xh - ]; -} diff --git a/home/ebisu/fortune/networking/tools/http/httpie.nix b/home/ebisu/fortune/networking/tools/http/httpie.nix deleted file mode 100644 index f27ef26..0000000 --- a/home/ebisu/fortune/networking/tools/http/httpie.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: -{ - home.packages = with pkgs; [ - httpie - httpie-desktop - ]; -} diff --git a/home/ebisu/fortune/networking/tools/http/wget.nix b/home/ebisu/fortune/networking/tools/http/wget.nix deleted file mode 100644 index c5d2936..0000000 --- a/home/ebisu/fortune/networking/tools/http/wget.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ pkgs, ... }: -{ - home.packages = [ pkgs.wget ]; - - xdg.configFile."wget/wgetrc".text = '' - hsts-file=~/.cache/wget-hsts - ''; -} diff --git a/home/ebisu/fortune/networking/tools/scanning.nix b/home/ebisu/fortune/networking/tools/scanning.nix deleted file mode 100644 index fe9c1fa..0000000 --- a/home/ebisu/fortune/networking/tools/scanning.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ pkgs, ... }: -{ - home.packages = with pkgs; [ - nmap - rustscan - arp-scan - ]; -} diff --git a/home/ebisu/fortune/networking/tools/shark.nix b/home/ebisu/fortune/networking/tools/shark.nix deleted file mode 100644 index d4b8c51..0000000 --- a/home/ebisu/fortune/networking/tools/shark.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: -{ - home.packages = with pkgs; [ - termshark - wireshark - ]; -} |