diff --git a/home/modules/firefox.nix b/home/modules/firefox.nix index 202484b..93b3c9c 100644 --- a/home/modules/firefox.nix +++ b/home/modules/firefox.nix @@ -199,6 +199,26 @@ with inputs; { updateInterval = 24 * 60 * 60 * 1000; # every day definedAliases = ["@cio"]; }; + "OSDev Wiki" = { + urls = [ + { + template = "https://wiki.osdev.org/index.php?search={searchTerms}"; + } + ]; + iconUpdateURL = "https://wiki.osdev.org/favicon.ico"; + updateInterval = 24 * 60 * 60 * 1000; # every day + definedAliases = ["@osdev"]; + }; + "YouTube" = { + urls = [ + { + template = "https://youtube.com/results?search_query={searchTerms}"; + } + ]; + iconUpdateURL = "https://youtube.com/favicon.ico"; + updateInterval = 24 * 60 * 60 * 1000; # every day + definedAliases = ["@yt"]; + }; "Bing".metaData.hidden = true; "Google".metaData.hidden = true; diff --git a/hosts/aarch64-linux/alastor/default.nix b/hosts/aarch64-linux/alastor/default.nix index b79c949..2097094 100644 --- a/hosts/aarch64-linux/alastor/default.nix +++ b/hosts/aarch64-linux/alastor/default.nix @@ -14,6 +14,7 @@ ../../gc.nix ]; nixpkgs.config.allowUnfree = true; + hardware.bluetooth.enable = true; hardware.asahi.peripheralFirmwareDirectory = ./firmware; hardware.asahi.useExperimentalGPUDriver = true; # TODO: this is UGLY @@ -29,6 +30,10 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = false; + virtualisation.docker.enable = true; + virtualisation.docker.autoPrune.enable = true; + virtualisation.docker.autoPrune.dates = "daily"; + services.pcscd.enable = true; networking.hostName = "alastor"; # Define your hostname. @@ -87,7 +92,7 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.xqtc = { isNormalUser = true; - extraGroups = ["wheel" "audio"]; # Enable ‘sudo’ for the user. + extraGroups = ["wheel" "audio" "docker"]; # Enable ‘sudo’ for the user. packages = with pkgs; [ tree ]; diff --git a/hosts/x86_64-linux/beleth/default.nix b/hosts/x86_64-linux/beleth/default.nix index ad071b1..1e0c206 100644 --- a/hosts/x86_64-linux/beleth/default.nix +++ b/hosts/x86_64-linux/beleth/default.nix @@ -15,6 +15,7 @@ with lib; { ./lanrarari.nix ./uptime.nix ./git.nix + ./docker.nix ../../gc.nix ../../../common ]; diff --git a/hosts/x86_64-linux/beleth/docker.nix b/hosts/x86_64-linux/beleth/docker.nix new file mode 100644 index 0000000..5d2483e --- /dev/null +++ b/hosts/x86_64-linux/beleth/docker.nix @@ -0,0 +1,6 @@ +{config, lib, ...}: +{ + virtualisation.docker.enable = true; + virtualisation.docker.autoPrune.enable = true; + virtualisation.docker.autoPrune.dates = "daily"; +}