mirror of
https://git.gay/xqtc/nixos-config
synced 2024-12-28 07:43:45 +01:00
Compare commits
4 commits
8886f95c32
...
d44e11431e
Author | SHA1 | Date | |
---|---|---|---|
xqtc161 | d44e11431e | ||
xqtc161 | 1efe0957dc | ||
xqtc161 | 911d79bf48 | ||
xqtc161 | bc135c2d77 |
|
@ -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 = [
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
@ -87,7 +88,7 @@ with lib; {
|
|||
|
||||
users.users.xqtc = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel"];
|
||||
extraGroups = ["wheel" "docker"];
|
||||
packages = with pkgs; [
|
||||
tree
|
||||
];
|
||||
|
|
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