From 88b5d34202e8bb01981b530c95e898e33201819b Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 4 Oct 2024 18:44:14 +0200 Subject: [PATCH] add search engine options in firefox/floorp options and have the other disk in GLaDOS auto-mount --- disko/GLaDOS/default.nix | 17 +++++++++++++++++ .../desktop/package-configs/firefox.nix | 8 ++++++++ 2 files changed, 25 insertions(+) diff --git a/disko/GLaDOS/default.nix b/disko/GLaDOS/default.nix index b418785..a44d858 100644 --- a/disko/GLaDOS/default.nix +++ b/disko/GLaDOS/default.nix @@ -41,6 +41,23 @@ }; }; }; + sda2 = { + device = "/dev/sda2"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + root = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/media"; + }; + }; + }; + }; + }; }; lvm_vg = { pool = { diff --git a/home-manager/desktop/package-configs/firefox.nix b/home-manager/desktop/package-configs/firefox.nix index 43f4854..02e9159 100644 --- a/home-manager/desktop/package-configs/firefox.nix +++ b/home-manager/desktop/package-configs/firefox.nix @@ -7,6 +7,14 @@ enable = true; nativeMessagingHosts = [pkgs.firefoxpwa]; package = pkgs.floorp; + search = { + default = "DuckDuckGo"; + force = true; + engines = { + "Google".metaData.hidden = true; + "Bing".metaData.hidden = true; + }; + }; profiles.lillian = { isDefault = true; settings = {