2017-05-09 20:52:53 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
2017-07-15 17:01:02 +00:00
|
|
|
<stockholm/makefu>
|
|
|
|
<stockholm/makefu/2configs/vncserver.nix>
|
|
|
|
<stockholm/makefu/2configs/disable_v6.nix>
|
|
|
|
<stockholm/makefu/2configs/audio/jack-on-pulse.nix>
|
|
|
|
<stockholm/makefu/2configs/audio/realtime-audio.nix>
|
|
|
|
<stockholm/makefu/2configs/gui/studio.nix>
|
|
|
|
<stockholm/makefu/2configs/binary-cache/lass.nix>
|
2017-05-09 20:52:53 +00:00
|
|
|
|
|
|
|
];
|
2017-05-12 09:38:45 +00:00
|
|
|
makefu.gui.user = "user"; # we use an extra user
|
2017-05-09 20:52:53 +00:00
|
|
|
krebs = {
|
|
|
|
enable = true;
|
|
|
|
tinc.retiolum.enable = true;
|
|
|
|
build.host = config.krebs.hosts.studio;
|
|
|
|
};
|
2017-05-12 09:38:45 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [ 655 ];
|
|
|
|
networking.firewall.allowedUDPPorts = [ 655 ];
|
2017-05-09 20:52:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs;[
|
2017-05-12 09:38:45 +00:00
|
|
|
# audio foo
|
|
|
|
## pulseaudio
|
2017-05-09 20:52:53 +00:00
|
|
|
pavucontrol
|
2017-05-12 09:38:45 +00:00
|
|
|
paprefs
|
|
|
|
pamixer
|
|
|
|
|
|
|
|
# extra alsa tools
|
|
|
|
alsa-hdspconf
|
|
|
|
alsa-hdspmixer
|
|
|
|
alsa-hdsploader
|
|
|
|
|
|
|
|
# recording
|
|
|
|
darkice
|
|
|
|
(mumble.override { jackSupport = true; })
|
|
|
|
|
|
|
|
# browsing
|
2017-05-09 20:52:53 +00:00
|
|
|
firefox
|
|
|
|
chromium
|
|
|
|
];
|
|
|
|
|
|
|
|
|
2017-05-12 09:38:45 +00:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
2017-05-09 20:52:53 +00:00
|
|
|
fonts = {
|
|
|
|
enableCoreFonts = true;
|
|
|
|
enableFontDir = true;
|
|
|
|
enableGhostscriptFonts = true;
|
|
|
|
fonts = [ ];
|
|
|
|
};
|
|
|
|
# ingos favorite display manager
|
|
|
|
|
|
|
|
|
|
|
|
# hardware
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.version = 2;
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ata_piix" "usb_storage" "sd_mod" ];
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/0aeda516-230e-4c54-9e27-13515c2f3f21";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices = [ { device = "/dev/disk/by-uuid/1914af67-5a8f-41d3-a1c2-211c39605da9"; } ];
|
2017-05-12 09:38:45 +00:00
|
|
|
users.users.user = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" "audio" ];
|
|
|
|
uid = 1000;
|
|
|
|
openssh.authorizedKeys.keys = [ config.krebs.users.makefu.pubkey ];
|
|
|
|
};
|
2017-05-09 20:52:53 +00:00
|
|
|
}
|