gnome caffeine

This commit is contained in:
2026-02-06 13:36:32 -06:00
parent f61dbc7190
commit b92dda099b
3 changed files with 27 additions and 18 deletions

View File

@@ -66,23 +66,23 @@
};
network = {
hostName = "macbook-pro-nixos";
networkmanager.enable = false;
iwd = {
enable = true;
settings = {
General = {
EnableNetworkConfiguration = true;
};
Rank = {
BandModifier2_4GHz = 1.0;
BandModifier5GHz = 5.0;
BandModifier6GHz = 10.0;
};
Network = {
AutoConnect = true;
};
};
};
networkmanager.enable = true;
# iwd = {
# enable = true;
# settings = {
# General = {
# EnableNetworkConfiguration = true;
# };
# Rank = {
# BandModifier2_4GHz = 1.0;
# BandModifier5GHz = 5.0;
# BandModifier6GHz = 10.0;
# };
# Network = {
# AutoConnect = true;
# };
# };
# };
extraFirewallCommands = ''
iptables -I INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
@@ -132,6 +132,8 @@
})
];
networking.networkmanager.wifi.backend = "iwd";
environment.sessionVariables = {
DBX_CONTAINER_MANAGER = "podman";
GSK_RENDERER = "opengl";

View File

@@ -16,6 +16,7 @@
fileSystems."/" =
{ device = "none";
fsType = "tmpfs";
options = [ "mode=755" ];
};
fileSystems."/boot" =