From 4e39998ac194605c0a796878a4dedf5403ec587e Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 29 May 2023 23:05:41 +0200 Subject: [PATCH] use trucksimulator's default listenport --- flake.lock | 12 +++--- .../modules/trucksimulatorbot/default.nix | 1 - users/rouven/modules/accounts/default.nix | 2 +- users/rouven/modules/default.nix | 1 - users/rouven/modules/qutebrowser/default.nix | 39 ------------------- 5 files changed, 7 insertions(+), 48 deletions(-) delete mode 100644 users/rouven/modules/qutebrowser/default.nix diff --git a/flake.lock b/flake.lock index fc2cb3b..cce19c3 100644 --- a/flake.lock +++ b/flake.lock @@ -75,11 +75,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1685346756, - "narHash": "sha256-pZNHeNkBBgi5o2DOT1T8MPHnrpJN+eEfYeqdg2ASjZA=", + "lastModified": 1685380658, + "narHash": "sha256-LPih0Q//p8IurXG9kGRVGAqV4AUKVYj9xkk3sYYAj6I=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "b3a86952cf14b6f556159eb898eaa7b6ceac4335", + "rev": "51a930f802c71a0e67f05e7b176ded74e8e95f87", "type": "github" }, "original": { @@ -362,11 +362,11 @@ ] }, "locked": { - "lastModified": 1685363327, - "narHash": "sha256-LmuiCTrl+RtUg5bV3MjsWaa2RnWzMLaefPGJUe48piU=", + "lastModified": 1685393793, + "narHash": "sha256-1cr3WVsmN0aAkQeUK+4BOiOynwFtFqBD21G4JlB9l+A=", "owner": "therealr5", "repo": "TruckSimulatorBot", - "rev": "7b7cd1e2b1834c1cfc374cfea1485c5f56d3b481", + "rev": "3e2c57c891e21962169066efb84ab6d8042d30b0", "type": "github" }, "original": { diff --git a/hosts/falkenstein-1/modules/trucksimulatorbot/default.nix b/hosts/falkenstein-1/modules/trucksimulatorbot/default.nix index 9233eb9..be791aa 100644 --- a/hosts/falkenstein-1/modules/trucksimulatorbot/default.nix +++ b/hosts/falkenstein-1/modules/trucksimulatorbot/default.nix @@ -5,7 +5,6 @@ in { services.trucksimulatorbot = { enable = true; - listenPort = 9033; discord = { clientId = "831052837353816066"; publicKey = "faa7004a2a5096702f96f3ebeb45c7e8272c119b72c1a0894abc4d76d8cc8bad"; diff --git a/users/rouven/modules/accounts/default.nix b/users/rouven/modules/accounts/default.nix index c65775b..2496b2d 100644 --- a/users/rouven/modules/accounts/default.nix +++ b/users/rouven/modules/accounts/default.nix @@ -290,6 +290,6 @@ in }; }; home.file.".urlview".text = '' - COMMAND qutebrowser %s &> /dev/null + COMMAND ${pkgs.xdg-utils}/bin/xdg-open %s &> /dev/null ''; } diff --git a/users/rouven/modules/default.nix b/users/rouven/modules/default.nix index 6b9bbd9..69ecf24 100644 --- a/users/rouven/modules/default.nix +++ b/users/rouven/modules/default.nix @@ -8,7 +8,6 @@ ./helix ./hyprland ./mpv - ./qutebrowser ./sops ./spotify ./ssh diff --git a/users/rouven/modules/qutebrowser/default.nix b/users/rouven/modules/qutebrowser/default.nix deleted file mode 100644 index ce78952..0000000 --- a/users/rouven/modules/qutebrowser/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ ... }: -{ - programs.qutebrowser = { - enable = true; - searchEngines = { - DEFAULT = "https://duckduckgo.com/?q={}"; - aw = "https://wiki.archlinux.org/?search={}"; - nw = "https://nixos.wiki/index.php?search={}"; - wp = "https://en.wikipedia.org/wiki/Special:Search?search={}"; - y = "http://localhost:8090/yacysearch.html?query={}"; - yt = "https://www.youtube.com/results?search_query={}"; - g = "https://www.google.com/search?hl=en&q={}"; - }; - quickmarks = { - nix-search = "https://search.nixos.org/options?"; - home-search = "https://mipmip.github.io/home-manager-option-search/"; - jexam = "https://jexam.inf.tu-dresden.de"; - opal = "https://bildungsportal.sachsen.de/opal/home?2"; - fruitbasket = "https://github.com/fsr/fruitbasket"; - }; - keyBindings = { - normal = { - "" = "hint links spawn mpv {hint-url}"; - }; - }; - settings = { - colors.webpage = { - darkmode.enabled = false; - preferred_color_scheme = "dark"; - }; - content.blocking = { - enabled = true; - method = "both"; - }; - statusbar.show = "in-mode"; - tabs.show = "switching"; - }; - }; -}