nixos-config/euhadra.nix

38 lines
813 B
Nix
Raw Normal View History

2015-06-04 14:12:51 +02:00
{ config, pkgs, ... }:
{
imports =
[
./common.nix
./uefi.nix
];
boot.initrd.luks.devices = [ { name = "euhadra_crypt"; device = "/dev/disk/by-uuid/328a9ede-0958-490b-8e82-62b06b839e21"; preLVM = true; } ];
networking.hostName = "euhadra";
networking.hostId = "ddb5f0fd";
services.mpd = {
enable = true;
musicDirectory = "/mnt/vaccaria/music";
extraConfig = ''
audio_output {
type "alsa"
name "dac"
device "sysdefault:CARD=QAMP"
}
2015-06-05 16:36:50 +02:00
replaygain "auto"
restore_paused "yes"
2015-06-04 14:12:51 +02:00
'';
};
networking.firewall.allowedTCPPorts = [ config.services.mpd.network.port ];
environment.systemPackages = with pkgs; [ mpc_cli ];
services.xserver.vaapiDrivers = [ pkgs.vaapiIntel ];
2015-09-01 14:16:20 +02:00
nixpkgs.config.mpv.vaapiSupport = true;
2015-06-04 14:12:51 +02:00
}