Compare commits

..

No commits in common. "09ca9341f94365d04af34d9461fa06954f2d345a" and "f67e77eaa1390bcdbccc68999b1d61cdcb4c54ff" have entirely different histories.

3 changed files with 6 additions and 21 deletions

View file

@ -226,16 +226,5 @@ in
]; ];
}; };
powerManagement = {
enable = true;
powertop.enable = true;
cpuFreqGovernor = "schedutil";
powerUpCommands = ''
echo 40 > /sys/class/power_supply/BAT0/charge_control_start_threshold
echo 80 > /sys/class/power_supply/BAT0/charge_control_stop_threshold
'';
};
services.tlp.enable = false;
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }

View file

@ -159,7 +159,7 @@ in
}; };
services.hydra = { services.hydra = {
enable = false; enable = true;
package = pkgs.hydra; package = pkgs.hydra;
hydraURL = "https://hydra.dadada.li"; hydraURL = "https://hydra.dadada.li";
notificationSender = "hydra@localhost"; notificationSender = "hydra@localhost";
@ -376,21 +376,17 @@ in
enable = true; enable = true;
allowPing = true; allowPing = true;
allowedTCPPorts = [ allowedTCPPorts = [
22 # SSH
2222 # SSH 2222 # SSH
80 # munin web
631 # Printing
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
631 # Printing
51234 # Wireguard 51234 # Wireguard
51235 # Wireguard 51235 # Wireguard
]; ];
interfaces = { interfaces = {
br0.allowedTCPPorts = [
22 # SSH
80 # munin web
631 # IPP
];
br0.allowedUDPPorts = [
631 # IPP
];
uwu.allowedTCPPorts = [ uwu.allowedTCPPorts = [
softServePort softServePort
]; ];

View file

@ -32,7 +32,7 @@
drivers = [ pkgs.brlaser ]; drivers = [ pkgs.brlaser ];
# Remove all state at the start of the service # Remove all state at the start of the service
stateless = true; stateless = true;
listenAddresses = [ "192.168.101.29:631" ]; listenAddresses = [ "192.168.101.184:631" "fd42:9c3b:f96d:101:4a21:bff:fe3e:9cfe:631" ];
allowFrom = [ "from 192.168.101.0/24" ]; allowFrom = [ "from 192.168.101.0/24" ];
browsing = true; browsing = true;
defaultShared = true; defaultShared = true;