diff options
| author | tv <tv@krebsco.de> | 2018-02-28 22:51:18 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2018-02-28 22:51:18 +0100 |
| commit | ad83919c5b4039c0ea75d9f290d689843a35ca0d (patch) | |
| tree | 45643c633eb0a759d19340562254092f722b46af /nin/2configs/ableton.nix | |
| parent | d450e63fd61a31e3b34da38f48260e1bfbb013cc (diff) | |
| parent | e00bacc232833cd39bdde33ef01f2189224929ad (diff) | |
Merge remote-tracking branch 'prism/master'
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 + ''; +} |
