From a7f605bdf00771dd36d5f40acb52dcdf68063575 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sun, 23 Aug 2015 14:35:13 +0200 Subject: makefu: add wwan with wvdial --- makefu/2configs/wwan.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 makefu/2configs/wwan.nix diff --git a/makefu/2configs/wwan.nix b/makefu/2configs/wwan.nix new file mode 100644 index 000000000..fdf3e8dfc --- /dev/null +++ b/makefu/2configs/wwan.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: +let + mainUser = config.krebs.build.user; +in { + environment.systemPackages = with pkgs;[ + wvdial + ]; + + users.extraUsers.${mainUser.name}.extraGroups = [ "dialout" ]; +} -- cgit v1.2.3