mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 10:20:33 +01:00
Enable docker; More search engines
This commit is contained in:
parent
8886f95c32
commit
bc135c2d77
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -15,6 +15,7 @@ with lib; {
|
|||
./lanrarari.nix
|
||||
./uptime.nix
|
||||
./git.nix
|
||||
./docker.nix
|
||||
../../gc.nix
|
||||
../../../common
|
||||
];
|
||||
|
|
6
hosts/x86_64-linux/beleth/docker.nix
Normal file
6
hosts/x86_64-linux/beleth/docker.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{config, lib, ...}:
|
||||
{
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.autoPrune.enable = true;
|
||||
virtualisation.docker.autoPrune.dates = "daily";
|
||||
}
|
Loading…
Reference in a new issue