networkmanager: re-introduce my polkit patches

This commit is contained in:
2024-06-03 13:04:48 +00:00
parent 2f1592376d
commit f6725f60b9

View File

@@ -1,17 +1,17 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
networkmanager = pkgs.networkmanager; # networkmanager = pkgs.networkmanager;
# networkmanager = pkgs.networkmanager.overrideAttrs (upstream: { networkmanager = pkgs.networkmanager.overrideAttrs (upstream: {
# src = pkgs.fetchFromGitea { src = pkgs.fetchFromGitea {
# domain = "git.uninsane.org"; domain = "git.uninsane.org";
# owner = "colin"; owner = "colin";
# repo = "NetworkManager"; repo = "NetworkManager";
# # patched to fix polkit permissions (with `nmcli`) when NetworkManager runs as user networkmanager # patched to fix polkit permissions (with `nmcli`) when NetworkManager runs as user networkmanager
# rev = "dev-sane-1.46.0"; rev = "dev-sane-1.48.0";
# hash = "sha256-S5ZiOfCpwtVVVO+DP6OPodJqzSc/LW4waI42DRkT+RA="; hash = "sha256-vGmOKtwVItxjYioZJlb1og3K6u9s4rcmDnjAPLBC3ao=";
# }; };
# # patches = []; # patches = [];
# }); });
# split the package into `daemon` and `nmcli` outputs, because the networkmanager *service* # split the package into `daemon` and `nmcli` outputs, because the networkmanager *service*
# doesn't need `nmcli`/`nmtui` tooling # doesn't need `nmcli`/`nmtui` tooling
networkmanager-split = pkgs.networkmanager-split.override { inherit networkmanager; }; networkmanager-split = pkgs.networkmanager-split.override { inherit networkmanager; };