This commit is contained in:
2025-07-29 14:12:04 +03:00
parent fa7ffb1d08
commit 043b474e3a
5 changed files with 53 additions and 4 deletions
+22 -2
View File
@@ -1,4 +1,8 @@
{inputs, ...}: { {
inputs,
lib,
...
}: {
imports = with inputs; [ imports = with inputs; [
self.modules.shared.nixos self.modules.shared.nixos
self.nixosModules.desktop self.nixosModules.desktop
@@ -22,6 +26,21 @@
user = "user"; 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 = { module = {
config = { config = {
secureBoot = true; secureBoot = true;
@@ -30,7 +49,7 @@
}; };
stylix = { stylix = {
enable = true; enable = true;
theme = "sandcastle"; theme = "oxocarbon-dark";
}; };
locale = "uk_UA.UTF-8"; locale = "uk_UA.UTF-8";
misc = { misc = {
@@ -38,5 +57,6 @@
qmk-vial.enable = true; qmk-vial.enable = true;
}; };
virt.libvirt.enable = true; virt.libvirt.enable = true;
virt.podman.enable = true;
}; };
} }
+2
View File
@@ -45,6 +45,8 @@ in {
then "indigo" then "indigo"
else if (hasPrefix "nord" theme) else if (hasPrefix "nord" theme)
then "nordic" then "nordic"
else if (hasPrefix "oxocarbon" theme)
then "green"
else if (hasPrefix "s" theme) else if (hasPrefix "s" theme)
then "teal" then "teal"
else null; else null;
+1 -1
View File
@@ -302,7 +302,7 @@ in {
Mod+Ctrl+Space repeat=false { toggle-overview; } Mod+Ctrl+Space repeat=false { toggle-overview; }
Mod+Return repeat=false { spawn "sh" "-c" "$TERMINAL"; } Mod+Return repeat=false { spawn "/bin/sh" "-c" "$TERMINAL"; }
Mod+BackSpace repeat=false { spawn "${launcher}"; } Mod+BackSpace repeat=false { spawn "${launcher}"; }
Mod+A repeat=false { spawn "${launcher}"; } Mod+A repeat=false { spawn "${launcher}"; }
Mod+Ctrl+L repeat=false { spawn "${lockscreen}"; } Mod+Ctrl+L repeat=false { spawn "${lockscreen}"; }
+26
View File
@@ -55,6 +55,11 @@
name = "wallhaven-ymo2y7.png"; name = "wallhaven-ymo2y7.png";
sha256 = "1b3j0hxxy8m25scq42lxsxc99xvr15pha1j4wplgz761asrvxly3"; sha256 = "1b3j0hxxy8m25scq42lxsxc99xvr15pha1j4wplgz761asrvxly3";
}; };
retro-deck = fetchurl {
url = "https://w.wallhaven.cc/full/1q/wallhaven-1q83qg.jpg";
name = "wallhaven-1q83qg.jpg";
sha256 = "QPmG4QTRvubuX6Fy5rmMwYKw4aQdBiH/zGL/PMmUZOk=";
};
nixos-rainbow = fetchurl { nixos-rainbow = fetchurl {
url = "https://w.wallhaven.cc/full/p9/wallhaven-p9pd23.png"; url = "https://w.wallhaven.cc/full/p9/wallhaven-p9pd23.png";
name = "wallhaven-p9pd23.png"; name = "wallhaven-p9pd23.png";
@@ -77,6 +82,27 @@
}; };
}; };
themes = { themes = {
oxocarbon-dark = {
polarity = "dark";
scheme = fromBase16Schemes "porple";
wallpaper = wallpapers.retro-deck;
serif = {
package = iosevkaPackage;
name = "Iosevka Nerd Font Propo";
};
monospace = {
package = iosevkaTermPackage;
name = "IosevkaTerm Nerd Font Mono";
};
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
};
};
rose-pine-dawn = { rose-pine-dawn = {
polarity = "light"; polarity = "light";
scheme = fromBase16Schemes "rose-pine-dawn"; scheme = fromBase16Schemes "rose-pine-dawn";
+2 -1
View File
@@ -11,7 +11,8 @@
boot = { boot = {
plymouth.enable = true; plymouth.enable = true;
consoleLogLevel = 0; consoleLogLevel = 0;
kernelPackages = pkgs.linuxPackages_cachyos; # kernelPackages = pkgs.linuxPackages_cachyos;
kernelPackages = pkgs.linuxPackages_latest;
initrd = { initrd = {
systemd.enable = true; systemd.enable = true;
}; };