Compare commits

...

4 commits

Author SHA1 Message Date
xqtc161 d44e11431e fix nix-ld-rs 2024-05-27 20:02:53 +02:00
xqtc161 1efe0957dc add nix-ld-rs 2024-05-27 19:57:55 +02:00
xqtc161 911d79bf48 Add xqtc on beleth to docker group 2024-05-27 19:29:50 +02:00
xqtc161 bc135c2d77 Enable docker; More search engines 2024-05-27 19:28:24 +02:00
5 changed files with 40 additions and 2 deletions

View file

@ -22,6 +22,12 @@
};
networking.firewall.allowedTCPPorts = [8384 22000];
networking.firewall.allowedUDPPorts = [22000 21027];
programs.nix-ld = {
enable = true;
package = pkgs.nix-ld-rs;
};
nix.settings = {
trusted-users = ["xqtc"];
substituters = [

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
];
@ -87,7 +88,7 @@ with lib; {
users.users.xqtc = {
isNormalUser = true;
extraGroups = ["wheel"];
extraGroups = ["wheel" "docker"];
packages = with pkgs; [
tree
];

View file

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