diff --git a/home-manager/common/software/gui/firefox.nix b/home-manager/common/software/gui/firefox.nix index 04f48076..7d5245fd 100644 --- a/home-manager/common/software/gui/firefox.nix +++ b/home-manager/common/software/gui/firefox.nix @@ -73,6 +73,16 @@ force = true; order = [ "Ecosia" ]; engines = { + "Kagi" = { + urls = [{ + template = "https://kagi.com/search"; + params = [ + { name = "token"; value = builtins.readFile /var/run/secrets/kagi_key; } + { name = "q"; value = "{searchTerms}"; } + ]; + }]; + definedAliases = [ "@k" ]; + }; "Ecosia" = { urls = [{ template = "https://www.ecosia.org/search"; diff --git a/nixos/hosts/nixos-desktop/default.nix b/nixos/hosts/nixos-desktop/default.nix index 4e5e660a..653c3f5b 100644 --- a/nixos/hosts/nixos-desktop/default.nix +++ b/nixos/hosts/nixos-desktop/default.nix @@ -27,13 +27,6 @@ enableHidpi = true; }; - - programs.alvr = { - enable = true; - openFirewall = true; - }; - - boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" "acpi_call" ]; @@ -45,6 +38,7 @@ # Set your time zone. time.timeZone = "Asia/Tokyo"; + services.automatic-timezoned.enable = true; # Set the networking hostname: networking.hostName = "nixos-desktop"; diff --git a/nixos/users/albert/default.nix b/nixos/users/albert/default.nix index 6fe47dd8..4355c1e3 100644 --- a/nixos/users/albert/default.nix +++ b/nixos/users/albert/default.nix @@ -32,7 +32,7 @@ in { }; # Used in home-manager's atuin config - # Used here instead of home-manager because HM randomly needs to restart sops-nix and I can't + # Used here instead of home-manager because HM randomly needs to restart sops-nix and I can't # find a way to do so sops.secrets."atuin_key" = { sopsFile = ../../../secrets/users/albert.yaml; @@ -44,6 +44,11 @@ in { owner = "albert"; }; + sops.secrets."kagi_token" = { + sopsFile = ../../../secrets/users/albert.yaml; + owner = "albert"; + }; + # Make this user trusted nix.settings.trusted-users = [ "albert" ]; } diff --git a/secrets/users/albert.yaml b/secrets/users/albert.yaml index a75634a3..e6df3c81 100644 --- a/secrets/users/albert.yaml +++ b/secrets/users/albert.yaml @@ -1,13 +1,14 @@ email_password: ENC[AES256_GCM,data:8gSaWe8MVQzd2cm+bqWI0jKhHzWLBe16gXj7+Ymxxj7Yq6eGwYeR+/Pgr5MdYL/Bw8GHZiM6lFticfFBGZcu9ar7tnDjLoI10EuflyvJkxc6pH1cFm4lvI9Y39j3Fc7TOf9EpX5NS74wTyiqAt4jC+sx1p+Uq3mbv6QZzMsI4Qo=,iv:SCpuPI5pd+wnKLrqTwlJkJsnPuOF0l6M92YtsdrwzxA=,tag:kTfu+JfqVIRCzwQhP/7eng==,type:str] atuin_key: ENC[AES256_GCM,data:0qgmIwr+iTtsZC/XRmvqalz+dtF6QlfewCsWliiKLQnrYMDwQDtTi/x9a+mravCUfU/lMrW+uGP/S9+SaFqhivCR04+lhebVzudhSQ==,iv:noX6V2Cqm1yBL5IKIJkHW3sw9ztlOnxCGWoNIaUizEw=,tag:pb/kyV5KGUv8RjsnaZ5l8w==,type:str] +kagi_token: ENC[AES256_GCM,data:h/89k36+WjblQPnx5zG+PjNo8XuggLhNiXeghXbWFTxuY/wExtutVJKsWNJFBKdVgimKAYwtgg==,iv:eMXIBVZndlbj9k8Hkqm5b/Y+oBJKXi5BCgkx2bE1TOs=,tag:2qFanmK6/S/YROuZCGeUYg==,type:str] sops: kms: [] gcp_kms: [] azure_kv: [] hc_vault: [] age: [] - lastmodified: "2024-05-07T00:20:08Z" - mac: ENC[AES256_GCM,data:vnh6/A6wZxUMERGnlgUAIcv8x6VkMI/Ez1put16FcB71FSrYdcGFsJzFKZzqsZtFG0pubiCL83i2bp40lip6hhBeILmJ4TDUwtHBnHZ40l0nP3F0rAItIKQSaXFW2VLkTZbhqghSyVTywEZQ61Pr7B8/wJILmvDJc4+hfRSnBis=,iv:Afq67eyLjcJzvJchdBSLJKdeiFbmcOKpJd+fWVz6u+4=,tag:A81AbLm6ohXl0h6Q9vDkCA==,type:str] + lastmodified: "2024-09-21T11:34:29Z" + mac: ENC[AES256_GCM,data:ZRNHH78+IXkQGZY93w20cxGNEyv2je4WFIkpNiXQG/bYDtRGLMcwFvW8Gttb2DqyUqncQXjQF0mpnlAG67Mvz/jS9WXaWKmC8PT0JyiOSkyn7mFRrDR/dkLnlf7zZvlqo7Sap/+vXrMvZAnJHwKaMzHGYAqH8MZvn0F8d8LUN3g=,iv:tD/yHbM2HT9uArWVPCHVhmZ7BopuMs58P+U6ciPB9FU=,tag:SeI4uninsijvRNBSzAH7ow==,type:str] pgp: - created_at: "2024-07-27T04:10:19Z" enc: |- diff --git a/wallpapers b/wallpapers index 26552d8b..8ed82c9a 160000 --- a/wallpapers +++ b/wallpapers @@ -1 +1 @@ -Subproject commit 26552d8bade6fa39188ebf68e9ffa1a8dcd75108 +Subproject commit 8ed82c9afaac6359cf4603196f7a5bd4b399a4b5