Cleanup and minor tweaks
This commit is contained in:
parent
be7abdca1c
commit
0ac085e153
4 changed files with 16 additions and 31 deletions
|
@ -58,5 +58,5 @@ in
|
|||
raspberrypi-eeprom
|
||||
];
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
|
|
@ -133,33 +133,6 @@
|
|||
{ from = 47998; to = 48000; }
|
||||
];
|
||||
};
|
||||
|
||||
# wg-quick.interfaces = {
|
||||
# wghorus = {
|
||||
# address = [ "10.10.4.2/24" ];
|
||||
# autostart = false;
|
||||
# dns = [ "192.168.4.1" ];
|
||||
# listenPort = 51820;
|
||||
|
||||
# privateKeyFile = config.sops.secrets.wireguard-horus-privkey.path;
|
||||
|
||||
# postUp = ''
|
||||
# ${pkgs.systemd}/bin/resolvectl domain wghorus bedum.horus.nu internal.horus.nu
|
||||
# '';
|
||||
# postDown = ''
|
||||
# ${pkgs.systemd}/bin/resolvectl domain wghorus ""
|
||||
# '';
|
||||
|
||||
# peers = [
|
||||
# {
|
||||
# publicKey = "6faxlUG8+F7uVrKk/OJqqy5k2+OzrhXc/cV6Zsfbl0c=";
|
||||
# allowedIPs = [ "192.168.4.0/23" "192.168.6.0/24" "192.168.7.0/24" "192.168.8.0/24" ];
|
||||
# endpoint = "212.45.34.195:51820";
|
||||
# persistentKeepalive = 25;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
|
@ -273,8 +246,8 @@
|
|||
powerManagement = {
|
||||
powerUpCommands = ''
|
||||
${pkgs.powertop}/bin/powertop --auto-tune
|
||||
${pkgs.coreutils}/bin/echo 'on' > /sys/bus/usb/devices/5-4.2/power/control # Logitech G502 HERO SE
|
||||
${pkgs.coreutils}/bin/echo 'on' > /sys/bus/usb/devices/5-4.1/power/control # splitkb Kyria rev1
|
||||
${pkgs.coreutils}/bin/echo 'on' > /sys/bus/usb/devices/5-3.2/power/control # Logitech G502 HERO SE
|
||||
${pkgs.coreutils}/bin/echo 'on' > /sys/bus/usb/devices/5-3.1/power/control # splitkb Kyria rev1
|
||||
'';
|
||||
cpuFreqGovernor = "ondemand";
|
||||
};
|
||||
|
|
|
@ -117,6 +117,17 @@
|
|||
|
||||
wait-online.extraArgs = [ "--interface=enp4s0" ];
|
||||
|
||||
links = {
|
||||
"40-enp4s0" = {
|
||||
matchConfig = {
|
||||
Name = "enp4s0";
|
||||
};
|
||||
linkConfig = {
|
||||
WakeOnLan = "magic";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
netdevs = {
|
||||
"10-microvm" = {
|
||||
netdevConfig = {
|
||||
|
|
|
@ -118,7 +118,7 @@ in
|
|||
bitwarden
|
||||
blink1-tool
|
||||
bottom
|
||||
commitgpt
|
||||
dbeaver
|
||||
fd
|
||||
ffmpeg_5-full
|
||||
git
|
||||
|
@ -140,6 +140,7 @@ in
|
|||
quintom-cursor-theme
|
||||
procs
|
||||
prusa-slicer
|
||||
qgis
|
||||
ripgrep
|
||||
signal-desktop
|
||||
solo2-cli
|
||||
|
|
Loading…
Reference in a new issue