mirror of
https://git.gay/xqtc/nixos-config
synced 2025-01-01 12:53:44 +01:00
Compare commits
No commits in common. "d44e11431ed9ab84f6f3128c231b1af3e8a2980e" and "8886f95c322c68247bd70fcc08eaee3eaffbd494" have entirely different histories.
d44e11431e
...
8886f95c32
|
@ -22,12 +22,6 @@
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [8384 22000];
|
networking.firewall.allowedTCPPorts = [8384 22000];
|
||||||
networking.firewall.allowedUDPPorts = [22000 21027];
|
networking.firewall.allowedUDPPorts = [22000 21027];
|
||||||
|
|
||||||
programs.nix-ld = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.nix-ld-rs;
|
|
||||||
};
|
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
trusted-users = ["xqtc"];
|
trusted-users = ["xqtc"];
|
||||||
substituters = [
|
substituters = [
|
||||||
|
|
|
@ -199,26 +199,6 @@ with inputs; {
|
||||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
definedAliases = ["@cio"];
|
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;
|
"Bing".metaData.hidden = true;
|
||||||
"Google".metaData.hidden = true;
|
"Google".metaData.hidden = true;
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
../../gc.nix
|
../../gc.nix
|
||||||
];
|
];
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
hardware.asahi.peripheralFirmwareDirectory = ./firmware;
|
hardware.asahi.peripheralFirmwareDirectory = ./firmware;
|
||||||
hardware.asahi.useExperimentalGPUDriver = true;
|
hardware.asahi.useExperimentalGPUDriver = true;
|
||||||
# TODO: this is UGLY
|
# TODO: this is UGLY
|
||||||
|
@ -30,10 +29,6 @@
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = false;
|
boot.loader.efi.canTouchEfiVariables = false;
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
virtualisation.docker.autoPrune.enable = true;
|
|
||||||
virtualisation.docker.autoPrune.dates = "daily";
|
|
||||||
|
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
|
|
||||||
networking.hostName = "alastor"; # Define your hostname.
|
networking.hostName = "alastor"; # Define your hostname.
|
||||||
|
@ -92,7 +87,7 @@
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.xqtc = {
|
users.users.xqtc = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["wheel" "audio" "docker"]; # Enable ‘sudo’ for the user.
|
extraGroups = ["wheel" "audio"]; # Enable ‘sudo’ for the user.
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
tree
|
tree
|
||||||
];
|
];
|
||||||
|
|
|
@ -15,7 +15,6 @@ with lib; {
|
||||||
./lanrarari.nix
|
./lanrarari.nix
|
||||||
./uptime.nix
|
./uptime.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./docker.nix
|
|
||||||
../../gc.nix
|
../../gc.nix
|
||||||
../../../common
|
../../../common
|
||||||
];
|
];
|
||||||
|
@ -88,7 +87,7 @@ with lib; {
|
||||||
|
|
||||||
users.users.xqtc = {
|
users.users.xqtc = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["wheel" "docker"];
|
extraGroups = ["wheel"];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
tree
|
tree
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{config, lib, ...}:
|
|
||||||
{
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
virtualisation.docker.autoPrune.enable = true;
|
|
||||||
virtualisation.docker.autoPrune.dates = "daily";
|
|
||||||
}
|
|
Loading…
Reference in a new issue