minor-ish changes
This commit is contained in:
parent
27d4b1328a
commit
3c6d6f8686
2 changed files with 27 additions and 4 deletions
|
@ -10,7 +10,6 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
networking.hostName = "ytnix";
|
networking.hostName = "ytnix";
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
networking.wireless.iwd = {
|
networking.wireless.iwd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -21,7 +20,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
networking.networkmanager.wifi.backend = "iwd";
|
networking.networkmanager = {
|
||||||
|
enable = true;
|
||||||
|
wifi.backend = "iwd";
|
||||||
|
};
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
|
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
@ -56,6 +58,9 @@
|
||||||
mpv
|
mpv
|
||||||
yt-dlp
|
yt-dlp
|
||||||
anki-bin
|
anki-bin
|
||||||
|
signal-desktop
|
||||||
|
cosign
|
||||||
|
azure-cli
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -92,6 +97,7 @@
|
||||||
compsize
|
compsize
|
||||||
wgnord
|
wgnord
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
|
traceroute
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
@ -153,6 +159,9 @@
|
||||||
};
|
};
|
||||||
compression = "auto,zstd";
|
compression = "auto,zstd";
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
|
extraCreateArgs = [ "--stats" ];
|
||||||
|
# warnings are often not that serious
|
||||||
|
failOnWarnings = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.btrbk.instances.local.settings = {
|
services.btrbk.instances.local.settings = {
|
||||||
|
@ -171,7 +180,8 @@
|
||||||
|
|
||||||
services.logind = {
|
services.logind = {
|
||||||
lidSwitch = "hibernate";
|
lidSwitch = "hibernate";
|
||||||
suspendKey = "hibernate";
|
suspendKey = "ignore";
|
||||||
|
powerKey = "hibernate";
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.mime.defaultApplications = {
|
xdg.mime.defaultApplications = {
|
||||||
|
@ -199,4 +209,15 @@
|
||||||
|
|
||||||
networking.wg-quick.interfaces.wgnord.configFile = "/etc/wireguard/wgnord.conf";
|
networking.wg-quick.interfaces.wgnord.configFile = "/etc/wireguard/wgnord.conf";
|
||||||
services.resolved.enable = true;
|
services.resolved.enable = true;
|
||||||
|
|
||||||
|
services.https-dns-proxy = {
|
||||||
|
enable = true;
|
||||||
|
provider = {
|
||||||
|
url = "https://dns.cy7.sh/dns-query/yt-linux";
|
||||||
|
kind = "custom";
|
||||||
|
ips = [ "1.1.1.1" "8.8.8.8" ];
|
||||||
|
};
|
||||||
|
# doesn't work otherwise :(
|
||||||
|
preferIPv4 = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,9 @@
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
ytnix = lib.nixosSystem {
|
ytnix = lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [ ./configuration.nix ];
|
modules = [
|
||||||
|
./configuration.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue