summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--makefu/2configs/wwan.nix10
1 files changed, 10 insertions, 0 deletions
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" ];
+}