Skip to content

Commit

Permalink
hosts/enchilada: enable dconf and disable msm-modem-uim-selection
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Sep 14, 2023
1 parent ddff60a commit f819ab2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions nixos/hosts/enchilada/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,19 @@
alsa.enable = false;
jack.enable = false;
};
programs.dconf.enable = true;
# services.fprintd.enable = true; # not working
environment.systemPackages = with pkgs; [
discover
];
}

# tweaks
{
# not working
systemd.services.msm-modem-uim-selection.enable = lib.mkForce false;
}

# applications
{
environment.systemPackages = with pkgs; [
Expand All @@ -79,9 +86,9 @@
mkdir functions/rndis.usb0
ln -s functions/rndis.usb0 configs/c.1/rndis
(cd /sys/class/udc; echo *) > UDC
fi
ip address add 172.16.42.1/24 dev usb0
ip address add 172.16.42.1/24 dev usb0
fi
ip link set up dev usb0
'';
path = with pkgs; [
Expand Down

0 comments on commit f819ab2

Please sign in to comment.