Wed Jun 5 06:34:54 PM CEST 2024
This commit is contained in:
parent
162e9d0ce1
commit
7a629c251d
|
@ -53,7 +53,7 @@
|
|||
output = "eDP-1";
|
||||
height = 28;
|
||||
margin = "0 0 5 0";
|
||||
temperature.hwmon-path = "/sys/class/hwmon/hwmon4/temp1_input";
|
||||
"custom/temperature".exec = "${pkgs.lm_sensors}/bin/sensors | ${pkgs.gnugrep}/bin/grep Package | cut -c17-23";
|
||||
};
|
||||
|
||||
programs.alacritty.settings.font.size = 13;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
};
|
||||
programs.waybar.settings.mainBar = {
|
||||
output = "DP-2";
|
||||
temperature.hwmon-path = "/sys/class/hwmon/hwmon3/temp2_input";
|
||||
# temperature.hwmon-path = "/sys/class/hwmon/hwmon3/temp2_input";
|
||||
};
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"cpu#cpu2"
|
||||
"cpu"
|
||||
"memory"
|
||||
"temperature"
|
||||
"custom/temperature"
|
||||
"clock"
|
||||
"clock#clock2"
|
||||
];
|
||||
|
@ -67,12 +67,9 @@
|
|||
interval = 5;
|
||||
format = "{used:0.2f}G";
|
||||
};
|
||||
temperature = {
|
||||
# Override with client-specific value
|
||||
# hwmon-path = "/sys/class/hwmon/hwmon2/temp1_input";
|
||||
"custom/temperature" = {
|
||||
interval = 5;
|
||||
critical-threshold = 80;
|
||||
format = "{temperatureC}°C";
|
||||
exec = pkgs.lib.mkDefault "echo TODO";
|
||||
};
|
||||
battery = {
|
||||
states = {
|
||||
|
@ -141,7 +138,7 @@
|
|||
#clock,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#custom-temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
|
@ -163,7 +160,7 @@
|
|||
#tray,
|
||||
#cpu,
|
||||
#battery,
|
||||
#temperature {
|
||||
#custom-temperature {
|
||||
background-color: #023269;
|
||||
}
|
||||
|
||||
|
@ -222,20 +219,6 @@
|
|||
background-color: #000000;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#custom-media.custom-spotify {
|
||||
background-color: #66cc99;
|
||||
}
|
||||
|
||||
#custom-media.custom-vlc {
|
||||
background-color: #ffa000;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
|
|
@ -108,10 +108,10 @@ in
|
|||
networking.wg-quick.interfaces = {
|
||||
wg0 = {
|
||||
address = [ "10.0.0.5/24" "2a02:a03f:83ad:2101::5/128" ];
|
||||
dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
|
||||
# dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
|
||||
privateKeyFile = "/home/user/.secrets/Wireguard/Aloria.key";
|
||||
listenPort = 51820;
|
||||
# postUp = "resolvectl dns wg0 10.0.0.1; resolvectl domain wg0 ~thomasave.be;";
|
||||
postUp = "resolvectl dns wg0 10.0.0.1; resolvectl domain wg0 ~thomasave.be;";
|
||||
peers = [{
|
||||
publicKey = "/9ppjm3yeD0duDvxrqgcHscHmftXko+0s2RbivNEy2c=";
|
||||
allowedIPs = [ "10.0.0.1/8" "192.168.1.2/32" ];
|
||||
|
@ -128,7 +128,13 @@ in
|
|||
];
|
||||
profiles = pkgs.lib.mapAttrs mkConnection connections;
|
||||
};
|
||||
dns = "systemd-resolved";
|
||||
};
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
fallbackDns = [ "1.1.1.1" "1.0.0.1" ];
|
||||
};
|
||||
|
||||
|
||||
|
||||
fileSystems."/home/server" = {
|
||||
|
|
Loading…
Reference in New Issue