Switch networkmanager backend to iwd

Switch network frontend to iwgtk, bluetooth frontend to overskride

Enable wifi powersave on laptops
This commit is contained in:
Evie Litherland-Smith 2024-12-05 13:51:47 +00:00
parent e53d29d7e8
commit 51081b3eca
5 changed files with 20 additions and 7 deletions

View file

@ -93,7 +93,6 @@
};
networking = {
inherit hostName;
networkmanager.enable = true;
firewall.enable = true;
nameservers = [ "9.9.9.9" ];
};

View file

@ -2,6 +2,16 @@
{
nixpkgs.config.chromium.commandLineArgs = "--password-store='gnome-libsecret' --enable-features=UseOzonePlatform --ozone-platform=wayland";
hardware.bluetooth.enable = true;
networking = {
networkmanager = {
enable = true;
wifi.backend = "iwd";
};
wireless.iwd = {
enable = true;
settings.Settings.AutoConnect = true;
};
};
environment = {
sessionVariables = {
NIXOS_OZONE_WL = "1";
@ -18,9 +28,11 @@
libsecret
libnotify
xdg-utils
wl-clipboard
hunspell
hunspellDicts.en_GB-large
wl-clipboard
iwgtk
overskride
grim
slurp
swappy
@ -28,6 +40,7 @@
libreoffice
evince
image-roll
imagemagick
clapper
g4music
ffmpeg

View file

@ -231,9 +231,9 @@
"dimaround, org.kde.polkit-kde-authentication-agent-1|Pinentry|pinentry-qt|gcr-prompter"
"stayfocused, org.kde.polkit-kde-authentication-agent-1|Pinentry|pinentry-qt|gcr-prompter"
# Network and Bluetooth control panels
"float, pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
"size 800 600, pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
"move onscreen 100%-820 50,pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
"float, pavucontrol|org.twosheds.iwgtk|overskride|io.github.kaii_lb.Overskride"
"size 800 600, pavucontrol|org.twosheds.iwgtk|overskride|io.github.kaii_lb.Overskride"
"move onscreen 100%-820 50,pavucontrol|org.twosheds.iwgtk|overskride|io.github.kaii_lb.Overskride"
# File browser and picker dialog
"float, org.gnome.Nautilus|xdg-desktop-portal-gtk"
"size 1200 900, org.gnome.Nautilus|xdg-desktop-portal-gtk"

View file

@ -164,7 +164,7 @@
format-linked = "󰈂 ";
format-disconnected = "󰈂 ";
tooltip-format = "{essid} ({signalStrength}%)";
on-click = "${pkgs.networkmanagerapplet}/bin/nm-connection-editor";
on-click = "${pkgs.iwgtk}/bin/iwgtk";
};
bluetooth = {
format = "󰂯";
@ -173,7 +173,7 @@
format-on = "󰂯";
format-connected = "󰂱";
tooltip-format = "{status} | {device_alias}";
on-click = "${pkgs.blueman}/bin/blueman-manager";
on-click = "${pkgs.overskride}/bin/overskride";
};
"clock#calendar" =
let

View file

@ -3,6 +3,7 @@
imports = [ ./desktop.nix ];
environment.systemPackages = [ pkgs.acpi ];
powerManagement.enable = true;
networking.networkmanager.wifi.powersave = true;
services.auto-cpufreq = {
enable = true;
settings = {