The Blue Update #1

Merged
Jimbo merged 101 commits from Refactor into main 2024-10-25 21:26:22 -04:00
6 changed files with 25 additions and 28 deletions
Showing only changes of commit 25a3a7e237 - Show all commits

View file

@ -12,7 +12,7 @@
style = "beam";
};
colors = {
alpha = "0.65";
alpha = "0.85";
background = "${config.look.colors.dark}";
regular0 = "3f3f3f";
regular1 = "cc0000";

View file

@ -16,7 +16,7 @@
};
};
iconTheme = {
package = pkgs.papirus-icon-theme.override { color = "indigo"; };
package = pkgs.papirus-icon-theme.override { color = "red"; };
name = "Papirus-Dark";
};
cursorTheme = {

View file

@ -11,7 +11,7 @@
swayWindowsModule = {
icon = true;
icon-size = 15;
all-config = true;
all-outputs = true;
tooltip = false;
rewrite = {
"(.*) LibreWolf" = " $1";

View file

@ -2,9 +2,16 @@
{
services = {
# Configure greetd for "auto" login (single user only)
greetd = let
startSway = pkgs.writeScript "startsway" ''
# Use NVIDIA variables if drivers are in use
greetd = {
enable = true;
restart = true;
settings = {
terminal = {
vt = 2;
switch = true;
};
default_session = {
command = ''
if lspci -k | grep "Kernel driver in use: nvidia" &> /dev/null; then
export LIBVA_DRIVER_NAME=nvidia
export GBM_BACKEND=nvidia-drm
@ -14,21 +21,12 @@
:
fi
export WLR_RENDERER=vulkan
export XDG_CURRENT_DESKTOP=sway
export QT_QPA_PLATFORM="wayland;xcb"
sway --unsupported-gpu
'';
in {
enable = true;
restart = true;
settings = {
terminal = {
vt = 2;
switch = true;
};
default_session = {
command = "${startSway}";
user = "jimbo";
};
};

View file

@ -9,8 +9,6 @@
in {
firewall = {
allowPing = false;
# Add extra input rules using nftables
extraInputRules = ''
ip saddr { ${outputs.ips.localSpan}.0/24, ${outputs.ips.wgSpan}.0/24 } tcp dport 2049 accept comment "Accept NFS"
ip saddr { ${outputs.ips.pc}, ${outputs.secrets.lunaIP}, ${outputs.secrets.cornIP} } tcp dport { 1935, 1945 } accept comment "Accept RTMP"
@ -42,6 +40,7 @@
ip saddr ${outputs.secrets.cornIP} tcp dport { 9943, 9944 } dnat to ${outputs.ips.vm} comment "VM ALVR TCP"
ip saddr ${outputs.secrets.cornIP} udp dport { 9943, 9944 } dnat to ${outputs.ips.vm} comment "VM ALVR UDP"
}
chain POSTROUTING {
type nat hook postrouting priority 100; policy accept;
oifname "${outputs.ips.netInt}" masquerade

View file

@ -6,11 +6,11 @@
audio.enable = true;
wireplumber = {
enable = true;
configPackages = [
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/11-bluetooth-policy.conf" ''
configPackages = [(
pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/11-bluetooth-policy.conf" ''
wireplumber.settings = { bluetooth.autoswitch-to-headset-profile = false }
'')
];
''
)];
};
alsa = {
enable = true;