diff options
| author | jeschli <jeschli@gmail.com> | 2018-02-28 20:22:08 +0000 |
|---|---|---|
| committer | jeschli <jeschli@gmail.com> | 2018-02-28 20:22:08 +0000 |
| commit | a8e30e2c3bb58372d26714e82c7986f22f2be652 (patch) | |
| tree | 30cb2689c69f38d73a5980ff7588b1e71257ee1c /nin/2configs/ableton.nix | |
| parent | e9ab05ec113f45fd746d255ffded43b23c9363e4 (diff) | |
| parent | e00bacc232833cd39bdde33ef01f2189224929ad (diff) | |
Merge branch 'staging/jeschli' of prism.i:stockholm into staging/jeschli
Diffstat (limited to 'nin/2configs/ableton.nix')
| -rw-r--r-- | nin/2configs/ableton.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nin/2configs/ableton.nix b/nin/2configs/ableton.nix new file mode 100644 index 0000000..343a908 --- /dev/null +++ b/nin/2configs/ableton.nix @@ -0,0 +1,20 @@ +{ config, pkgs, ... }: let + mainUser = config.users.extraUsers.nin; +in { + users.users= { + ableton = { + isNormalUser = true; + extraGroups = [ + "audio" + "video" + ]; + packages = [ + pkgs.wine + pkgs.winetricks + ]; + }; + }; + security.sudo.extraConfig = '' + ${mainUser.name} ALL=(ableton) NOPASSWD: ALL + ''; +} |
