Enable docker; More search engines

This commit is contained in:
xqtc161 2024-05-27 19:28:24 +02:00
parent 8886f95c32
commit bc135c2d77
4 changed files with 33 additions and 1 deletions

View file

@ -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;

View file

@ -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
];

View file

@ -15,6 +15,7 @@ with lib; {
./lanrarari.nix
./uptime.nix
./git.nix
./docker.nix
../../gc.nix
../../../common
];

View file

@ -0,0 +1,6 @@
{config, lib, ...}:
{
virtualisation.docker.enable = true;
virtualisation.docker.autoPrune.enable = true;
virtualisation.docker.autoPrune.dates = "daily";
}