stockholm/nin/2configs/ableton.nix
lassulus 67dc106469 Revert "remove nin"
This reverts commit 62314e64c2.
2018-10-09 21:12:36 +02:00

21 lines
369 B
Nix

{ 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
'';
}