Switch networkmanager backend to iwd
Switch network frontend to iwgtk, bluetooth frontend to overskride Enable wifi powersave on laptops
This commit is contained in:
parent
e53d29d7e8
commit
51081b3eca
|
@ -93,7 +93,6 @@
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
networkmanager.enable = true;
|
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
nameservers = [ "9.9.9.9" ];
|
nameservers = [ "9.9.9.9" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,16 @@
|
||||||
{
|
{
|
||||||
nixpkgs.config.chromium.commandLineArgs = "--password-store='gnome-libsecret' --enable-features=UseOzonePlatform --ozone-platform=wayland";
|
nixpkgs.config.chromium.commandLineArgs = "--password-store='gnome-libsecret' --enable-features=UseOzonePlatform --ozone-platform=wayland";
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
networking = {
|
||||||
|
networkmanager = {
|
||||||
|
enable = true;
|
||||||
|
wifi.backend = "iwd";
|
||||||
|
};
|
||||||
|
wireless.iwd = {
|
||||||
|
enable = true;
|
||||||
|
settings.Settings.AutoConnect = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
environment = {
|
environment = {
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
@ -18,9 +28,11 @@
|
||||||
libsecret
|
libsecret
|
||||||
libnotify
|
libnotify
|
||||||
xdg-utils
|
xdg-utils
|
||||||
wl-clipboard
|
|
||||||
hunspell
|
hunspell
|
||||||
hunspellDicts.en_GB-large
|
hunspellDicts.en_GB-large
|
||||||
|
wl-clipboard
|
||||||
|
iwgtk
|
||||||
|
overskride
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
swappy
|
swappy
|
||||||
|
@ -28,6 +40,7 @@
|
||||||
libreoffice
|
libreoffice
|
||||||
evince
|
evince
|
||||||
image-roll
|
image-roll
|
||||||
|
imagemagick
|
||||||
clapper
|
clapper
|
||||||
g4music
|
g4music
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|
|
@ -231,9 +231,9 @@
|
||||||
"dimaround, org.kde.polkit-kde-authentication-agent-1|Pinentry|pinentry-qt|gcr-prompter"
|
"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"
|
"stayfocused, org.kde.polkit-kde-authentication-agent-1|Pinentry|pinentry-qt|gcr-prompter"
|
||||||
# Network and Bluetooth control panels
|
# Network and Bluetooth control panels
|
||||||
"float, pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
|
"float, pavucontrol|org.twosheds.iwgtk|overskride|io.github.kaii_lb.Overskride"
|
||||||
"size 800 600, pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
|
"size 800 600, pavucontrol|org.twosheds.iwgtk|overskride|io.github.kaii_lb.Overskride"
|
||||||
"move onscreen 100%-820 50,pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
|
"move onscreen 100%-820 50,pavucontrol|org.twosheds.iwgtk|overskride|io.github.kaii_lb.Overskride"
|
||||||
# File browser and picker dialog
|
# File browser and picker dialog
|
||||||
"float, org.gnome.Nautilus|xdg-desktop-portal-gtk"
|
"float, org.gnome.Nautilus|xdg-desktop-portal-gtk"
|
||||||
"size 1200 900, org.gnome.Nautilus|xdg-desktop-portal-gtk"
|
"size 1200 900, org.gnome.Nautilus|xdg-desktop-portal-gtk"
|
||||||
|
|
|
@ -164,7 +164,7 @@
|
||||||
format-linked = " ";
|
format-linked = " ";
|
||||||
format-disconnected = " ";
|
format-disconnected = " ";
|
||||||
tooltip-format = "{essid} ({signalStrength}%)";
|
tooltip-format = "{essid} ({signalStrength}%)";
|
||||||
on-click = "${pkgs.networkmanagerapplet}/bin/nm-connection-editor";
|
on-click = "${pkgs.iwgtk}/bin/iwgtk";
|
||||||
};
|
};
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
format = "";
|
format = "";
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
format-on = "";
|
format-on = "";
|
||||||
format-connected = "";
|
format-connected = "";
|
||||||
tooltip-format = "{status} | {device_alias}";
|
tooltip-format = "{status} | {device_alias}";
|
||||||
on-click = "${pkgs.blueman}/bin/blueman-manager";
|
on-click = "${pkgs.overskride}/bin/overskride";
|
||||||
};
|
};
|
||||||
"clock#calendar" =
|
"clock#calendar" =
|
||||||
let
|
let
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
imports = [ ./desktop.nix ];
|
imports = [ ./desktop.nix ];
|
||||||
environment.systemPackages = [ pkgs.acpi ];
|
environment.systemPackages = [ pkgs.acpi ];
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
|
networking.networkmanager.wifi.powersave = true;
|
||||||
services.auto-cpufreq = {
|
services.auto-cpufreq = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in a new issue