translater-setup: update audio and mumble setup

This commit is contained in:
Ingolf Wagner 2020-11-12 22:30:35 +01:00
parent 31295ab3b8
commit bd930e20c8
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 29 additions and 8 deletions

View file

@ -0,0 +1,10 @@
{ pkgs, lib, config, ... }: {
users.users.mainUser.extraGroups = [ "audio" ];
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
environment.systemPackages = with pkgs; [ alsaUtils pavucontrol ];
}

View file

@ -1,6 +1,6 @@
{ pkgs, lib, config, ... }: { { pkgs, lib, config, ... }: {
imports = [ ./x11.nix ]; imports = [ ./x11.nix ./audio.nix ];
#networking.networkmanager.enable = true; #networking.networkmanager.enable = true;
#networking.wireless.enable = false; #networking.wireless.enable = false;
@ -13,6 +13,12 @@
EDITOR=vim EDITOR=vim
''; '';
services.xserver.displayManager.sessionCommands = ''
${pkgs.mumble}/bin/mumble mumble://name@lassul.us/party/hard &
${pkgs.vlc}/bin/vlc &
${pkgs.pavucontrol}/bin/pavucontrol &
'';
networking.hostName = "translate"; networking.hostName = "translate";
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;

View file

@ -19,7 +19,8 @@
sessionCommands = '' sessionCommands = ''
${pkgs.mumble}/bin/mumble & ${pkgs.mumble}/bin/mumble &
${pkgs.vlc}/bin/vlc & ${pkgs.vlc}/bin/vlc &
''; ${pkgs.pavucontrol}/bin/pavucontrol &
'';
}; };
# mouse/touchpad # mouse/touchpad
@ -43,6 +44,6 @@
# Packages # Packages
# -------- # --------
environment.systemPackages = with pkgs; [ arandr flameshot ]; environment.systemPackages = with pkgs; [ flameshot pavucontrol mumble vlc ];
} }

View file

@ -62,11 +62,15 @@ in {
castget = callPackage ./castget { }; castget = callPackage ./castget { };
nixos-generators = callPackage (super.fetchgit { #nixos-generators = callPackage (super.fetchgit {
url = "https://github.com/nix-community/nixos-generators.git"; # url = "https://github.com/nix-community/nixos-generators.git";
rev = "e006f95894b91fccf903d1b0620c5a18879ab91f"; # # before flakes
sha256 = "1cx54d8zyvgwb2kzj4blkambbm278icrgw5y1nicj54qrs7398n6"; # #rev = "5eb0cbe93bd1bcf134ec330c06b6f1e645de64c6";
}) { }; # #sha256 = "0ghwy0xh7x7hwym8hzx95fj9yw8gxb4ffh56dn0p8a6scnlffci6";
# # with flaks
# #rev = "450f39121c45b93951c52874fe233455d007d3bc";
# #sha256 = "1iwc39hzvzzyndxwbnl3fck7phxnjpnhy8zn4nyp8is1fiw0648v";
#}) { };
radio-dj = callPackage (super.fetchgit { radio-dj = callPackage (super.fetchgit {
url = "https://git.ingolf-wagner.de/crashburn_radio/radio_dj.git"; url = "https://git.ingolf-wagner.de/crashburn_radio/radio_dj.git";