2015-12-30 16:14:31 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2016-02-15 15:27:11 +00:00
|
|
|
../.
|
2015-12-30 16:14:31 +00:00
|
|
|
<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
|
|
|
|
../2configs/base.nix
|
2016-02-01 15:18:36 +00:00
|
|
|
../2configs/git.nix
|
2016-02-01 15:04:05 +00:00
|
|
|
../2configs/websites/fritz.nix
|
2015-12-30 16:14:31 +00:00
|
|
|
{
|
|
|
|
boot.loader.grub = {
|
|
|
|
device = "/dev/vda";
|
|
|
|
splashImage = null;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
"ata_piix"
|
|
|
|
"ehci_pci"
|
|
|
|
"uhci_hcd"
|
|
|
|
"virtio_pci"
|
|
|
|
"virtio_blk"
|
|
|
|
];
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/mapper/pool-nix";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
2016-04-09 12:14:19 +00:00
|
|
|
fileSystems."/srv/http" = {
|
|
|
|
device = "/dev/pool/srv_http";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
2015-12-30 16:14:31 +00:00
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/vda1";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
networking.dhcpcd.allowInterfaces = [
|
|
|
|
"enp*"
|
|
|
|
"eth*"
|
|
|
|
];
|
|
|
|
}
|
|
|
|
{
|
|
|
|
sound.enable = false;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
krebs.build.host = config.krebs.hosts.dishfire;
|
|
|
|
}
|