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 | becf1ce7ac7688692c3770571387b3761be11698 (patch) | |
tree | 6238277fa4c42de03b393d89cdbb12d8582afba4 /nin/2configs/ableton.nix | |
parent | 2934d4524bcbae13043d684a27597c8b08c0851b (diff) | |
parent | 793742b9d1b2eab942e5d06ed27028c636cda583 (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 000000000..343a9089d --- /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 + ''; +} |