This commit is contained in:
2025-07-29 14:12:04 +03:00
parent f60b9832ba
commit b24f8a2b86
5 changed files with 53 additions and 4 deletions
+22 -2
View File
@@ -1,4 +1,8 @@
{inputs, ...}: {
{
inputs,
lib,
...
}: {
imports = with inputs; [
self.modules.shared.nixos
self.nixosModules.desktop
@@ -22,6 +26,21 @@
user = "user";
};
networking.firewall.allowedTCPPorts = [3923 3921 3990]; # for github:9001/copyparty
networking.networkmanager.enable = lib.mkDefault false;
systemd.network.networks."10-wan" = {
matchConfig.Name = "enp8s0";
networkConfig = {
# start a DHCP Client for IPv4 Addressing/Routing
DHCP = "ipv4";
# accept Router Advertisements for Stateless IPv6 Autoconfiguraton (SLAAC)
IPv6AcceptRA = true;
};
# make routing on this interface a dependency for network-online.target
linkConfig.RequiredForOnline = "routable";
};
module = {
config = {
secureBoot = true;
@@ -30,7 +49,7 @@
};
stylix = {
enable = true;
theme = "sandcastle";
theme = "oxocarbon-dark";
};
locale = "uk_UA.UTF-8";
misc = {
@@ -38,5 +57,6 @@
qmk-vial.enable = true;
};
virt.libvirt.enable = true;
virt.podman.enable = true;
};
}