summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authorFelix Richter <makefu@syntax-fehler.de>2015-08-23 14:35:13 +0200
committerFelix Richter <makefu@syntax-fehler.de>2015-08-23 14:35:13 +0200
commita7f605bdf00771dd36d5f40acb52dcdf68063575 (patch)
tree9e5820b8da5962988bf0c7da34f7456feb39a74f /makefu
parent7a1e2f83b242b6779e1590082fbe93a8ed429611 (diff)
makefu: add wwan with wvdial
Diffstat (limited to 'makefu')
-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 00000000..fdf3e8df
--- /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" ];
+}