nix machine / user configurations
at terra 529 B view raw
1username: 2{ pkgs, ... }: 3{ 4 services.psd.enable = true; 5 6 security.sudo.extraRules = [ 7 { 8 users = [ username ]; 9 commands = [ 10 { 11 command = "${pkgs.profile-sync-daemon}/bin/psd-overlay-helper"; 12 options = [ 13 "SETENV" 14 "NOPASSWD" 15 ]; 16 } 17 ]; 18 } 19 ]; 20 21 home-manager.users.${username} = { 22 xdg.enable = true; 23 xdg.configFile."psd/psd.conf".text = '' 24 USE_OVERLAYFS="no" 25 BROWSERS=(chromium) 26 USE_BACKUPS="no" 27 ''; 28 }; 29}