stockholm/tv/1systems/wu/config.nix

44 lines
948 B
Nix
Raw Normal View History

2016-10-20 18:54:38 +00:00
with import <stockholm/lib>;
2017-08-01 20:37:41 +00:00
{ config, pkgs, ... }: {
2015-07-11 14:55:22 +00:00
krebs.build.host = config.krebs.hosts.wu;
2015-07-11 14:55:22 +00:00
imports = [
<stockholm/tv>
<stockholm/tv/2configs/hw/w110er.nix>
<stockholm/tv/2configs/exim-retiolum.nix>
<stockholm/tv/2configs/pulse.nix>
<stockholm/tv/2configs/retiolum.nix>
<stockholm/tv/2configs/xserver>
2015-07-11 14:55:22 +00:00
];
boot.initrd.luks.devices.wuca.device = "/dev/sda2";
2015-07-11 14:55:22 +00:00
fileSystems = {
"/" = {
2017-01-08 12:07:58 +00:00
device = "/dev/mapper/wuvga-root";
2018-07-09 20:31:19 +00:00
fsType = "ext4";
2017-01-08 12:07:58 +00:00
};
"/bku" = {
device = "/dev/mapper/wuvga-bku";
2018-07-09 20:31:19 +00:00
fsType = "ext4";
2015-07-11 14:55:22 +00:00
};
"/home" = {
2017-01-08 12:07:58 +00:00
device = "/dev/mapper/wuvga-home";
2018-07-09 20:31:19 +00:00
fsType = "ext4";
2015-07-11 14:55:22 +00:00
};
"/boot" = {
device = "/dev/sda1";
};
};
networking.wireless.enable = true;
networking.wireless.interfaces = [
"wlp3s0"
];
networking.interfaces.enp4s0f2.useDHCP = true;
networking.interfaces.wlp3s0.useDHCP = true;
networking.useDHCP = false;
2015-07-11 14:55:22 +00:00
}