summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/wwan.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-08-23 14:36:22 +0200
committermakefu <github@syntax-fehler.de>2015-08-23 14:36:22 +0200
commit1b105252203620adcf9c834005d30a3d39f55985 (patch)
treeaecb72e834380e4ae34f1c0d6593f61da281452f /makefu/2configs/wwan.nix
parent6c206726e33e51cfac947ada4ad5ec7e5e107830 (diff)
parenta7f605bdf00771dd36d5f40acb52dcdf68063575 (diff)
Merge branch 'master' of pnp:stockholm
Diffstat (limited to 'makefu/2configs/wwan.nix')
-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" ];
+}