diff --git a/home/apps/qutebrowser/default.nix b/home/apps/qutebrowser/default.nix index e50c464..db679f1 100644 --- a/home/apps/qutebrowser/default.nix +++ b/home/apps/qutebrowser/default.nix @@ -1,6 +1,6 @@ { config, ... }: { - imports = [ ./duckduckgo-colorscheme.nix ./homepage/default.nix ]; + imports = [ ./duckduckgo-colorscheme.nix ./homepage ./serverpage ]; programs.qutebrowser = { enable = true; @@ -19,6 +19,7 @@ quickmarks = { home = "${config.home.homeDirectory}/.config/startpage/index.html"; + server = "${config.home.homeDirectory}/.config/serverpage/index.html"; mynixos = "https://mynixos.com"; github = "https://github.com"; outlook = "https://outlook.office.com/mail/"; @@ -184,6 +185,8 @@ keyBindings = { normal = { "gh" = "open ${config.home.homeDirectory}/.config/startpage/index.html"; + "gs" = + "open ${config.home.homeDirectory}/.config/serverpage/index.html"; " p" = "tab-move -"; " n" = "tab-move +"; diff --git a/home/apps/qutebrowser/serverpage/default.nix b/home/apps/qutebrowser/serverpage/default.nix new file mode 100644 index 0000000..5963370 --- /dev/null +++ b/home/apps/qutebrowser/serverpage/default.nix @@ -0,0 +1,288 @@ +{ config, ... }: +let + bookmarks = '' + Services: [ + {text: "TrueNAS", url: "https://heaven", icon: ""}, + {text: "Nextcloud", url: "https://cloud.anotherhadi.com/", icon: ""}, + {text: "Vaultwarden", url: "https://vault.anotherhadi.com/", icon: ""}, + {text: "PiHole", url: "http://heaven:20720/admin", icon: ""}, + ], + Admin: [ + {text: "Vaultwarden", url: "https://vault.anotherhadi.com/admin", icon: ""}, + {text: "Cloudflare One", url: "https://one.dash.cloudflare.com/", icon: ""}, + {text: "Cloudflare", url: "https://cloudflare.com/", icon: ""}, + {text: "Tailscale", url: "https://login.tailscale.com/admin/machines", icon: ""}, + ], + ''; +in { + + xdg.configFile."serverpage/index.html".text = '' + + + +
+ + +