diff --git a/configuration.nix b/configuration.nix index 0ace5d1..6aaa3e7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,6 +15,25 @@ ./hardware-configuration.nix ]; + # Docker + virtualisation = { + docker = { + enable = true; + }; + oci-containers = { + backend = "docker"; + containers = { + degoog = { + # degoog + image = "ghcr.io/fccview/degoog:latest"; + volumes = [ "./data:/app/data" ]; + user = "1000:1000"; + ports = [ "4444:4444" ]; + }; + }; + }; + }; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -112,6 +131,7 @@ extraGroups = [ "networkmanager" "wheel" + "docker" ]; packages = with pkgs; [ ]; }; @@ -133,8 +153,6 @@ hunspell hunspellDicts.en_US typst - wireshark - john ]; # Some programs need SUID wrappers, can be configured further or are diff --git a/home.nix b/home.nix index 6f6da42..8cc0adf 100644 --- a/home.nix +++ b/home.nix @@ -51,6 +51,10 @@ aliases: type: mkEngine aliases "https://modrinth.com/discover/${type}?q={searchTerms}" "ico"; in { + # Degoog Engine + "degoog" = mkEngineForceFavicon [ "@dg" "@degoog" ] + "http://localhost:4444/search?q={searchTerms}" + "http://localhost:4444/public/favicon/favicon.ico?v=0.9.0"; # Dev "GitHub Repos" = mkEngineForceFavicon [ "@gh" "@github" ] @@ -203,6 +207,9 @@ installation_mode = "force_installed"; }; # Feedbro settings }; # programs.firefox.policies.ExtensionSettings + SearchEngines = { + Default = "@dg"; + }; }; # programs.firefox.policies }; # programs.firefox