mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
koishi: Mic mute + networkmanager
This commit is contained in:
parent
6149da041a
commit
5459fddb01
5 changed files with 33 additions and 8 deletions
|
|
@ -31,7 +31,7 @@
|
|||
x270
|
||||
intel
|
||||
laptop
|
||||
wifi
|
||||
networkmanager
|
||||
];
|
||||
};
|
||||
eeepc-1015pem = {
|
||||
|
|
|
|||
29
config/profiles/hardware/networkmanager.nix
Normal file
29
config/profiles/hardware/networkmanager.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ config, lib, ... }: with lib; {
|
||||
options = {
|
||||
home-manager.users = let
|
||||
applets = { config, nixos, ... }: {
|
||||
xsession.preferStatusNotifierItems = true;
|
||||
services = {
|
||||
network-manager-applet.enable = true;
|
||||
blueman-applet.enable = true;
|
||||
};
|
||||
};
|
||||
in mkOption {
|
||||
type = types.attrsOf (types.submoduleWith {
|
||||
modules = singleton applets;
|
||||
});
|
||||
};
|
||||
};
|
||||
config = {
|
||||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
connectionConfig = {
|
||||
"ipv6.ip6-privacy" = mkForce 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue