This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@ in {
|
||||
then "indigo"
|
||||
else if (hasPrefix "nord" theme)
|
||||
then "nordic"
|
||||
else if (hasPrefix "oxocarbon" theme)
|
||||
then "green"
|
||||
else if (hasPrefix "s" theme)
|
||||
then "teal"
|
||||
else null;
|
||||
|
||||
@@ -302,7 +302,7 @@ in {
|
||||
|
||||
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+A repeat=false { spawn "${launcher}"; }
|
||||
Mod+Ctrl+L repeat=false { spawn "${lockscreen}"; }
|
||||
|
||||
@@ -55,6 +55,11 @@
|
||||
name = "wallhaven-ymo2y7.png";
|
||||
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 {
|
||||
url = "https://w.wallhaven.cc/full/p9/wallhaven-p9pd23.png";
|
||||
name = "wallhaven-p9pd23.png";
|
||||
@@ -77,6 +82,27 @@
|
||||
};
|
||||
};
|
||||
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 = {
|
||||
polarity = "light";
|
||||
scheme = fromBase16Schemes "rose-pine-dawn";
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
boot = {
|
||||
plymouth.enable = true;
|
||||
consoleLogLevel = 0;
|
||||
kernelPackages = pkgs.linuxPackages_cachyos;
|
||||
# kernelPackages = pkgs.linuxPackages_cachyos;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
initrd = {
|
||||
systemd.enable = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user