translater-setup: update audio and mumble setup
This commit is contained in:
parent
31295ab3b8
commit
bd930e20c8
4 changed files with 29 additions and 8 deletions
10
images/translate-setup/audio.nix
Normal file
10
images/translate-setup/audio.nix
Normal 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 ];
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
|
||||
imports = [ ./x11.nix ];
|
||||
imports = [ ./x11.nix ./audio.nix ];
|
||||
|
||||
#networking.networkmanager.enable = true;
|
||||
#networking.wireless.enable = false;
|
||||
|
@ -13,6 +13,12 @@
|
|||
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";
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
sessionCommands = ''
|
||||
${pkgs.mumble}/bin/mumble &
|
||||
${pkgs.vlc}/bin/vlc &
|
||||
${pkgs.pavucontrol}/bin/pavucontrol &
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -43,6 +44,6 @@
|
|||
|
||||
# Packages
|
||||
# --------
|
||||
environment.systemPackages = with pkgs; [ arandr flameshot ];
|
||||
environment.systemPackages = with pkgs; [ flameshot pavucontrol mumble vlc ];
|
||||
|
||||
}
|
||||
|
|
|
@ -62,11 +62,15 @@ in {
|
|||
|
||||
castget = callPackage ./castget { };
|
||||
|
||||
nixos-generators = callPackage (super.fetchgit {
|
||||
url = "https://github.com/nix-community/nixos-generators.git";
|
||||
rev = "e006f95894b91fccf903d1b0620c5a18879ab91f";
|
||||
sha256 = "1cx54d8zyvgwb2kzj4blkambbm278icrgw5y1nicj54qrs7398n6";
|
||||
}) { };
|
||||
#nixos-generators = callPackage (super.fetchgit {
|
||||
# url = "https://github.com/nix-community/nixos-generators.git";
|
||||
# # before flakes
|
||||
# #rev = "5eb0cbe93bd1bcf134ec330c06b6f1e645de64c6";
|
||||
# #sha256 = "0ghwy0xh7x7hwym8hzx95fj9yw8gxb4ffh56dn0p8a6scnlffci6";
|
||||
# # with flaks
|
||||
# #rev = "450f39121c45b93951c52874fe233455d007d3bc";
|
||||
# #sha256 = "1iwc39hzvzzyndxwbnl3fck7phxnjpnhy8zn4nyp8is1fiw0648v";
|
||||
#}) { };
|
||||
|
||||
radio-dj = callPackage (super.fetchgit {
|
||||
url = "https://git.ingolf-wagner.de/crashburn_radio/radio_dj.git";
|
||||
|
|
Loading…
Reference in a new issue