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
|
|
|
|
2015-07-24 22:04:04 +00:00
|
|
|
krebs.build.host = config.krebs.hosts.wu;
|
|
|
|
|
2015-07-11 14:55:22 +00:00
|
|
|
imports = [
|
2017-07-06 19:47:47 +00:00
|
|
|
<stockholm/tv>
|
|
|
|
<stockholm/tv/2configs/hw/w110er.nix>
|
|
|
|
<stockholm/tv/2configs/exim-retiolum.nix>
|
|
|
|
<stockholm/tv/2configs/gitrepos.nix>
|
|
|
|
<stockholm/tv/2configs/mail-client.nix>
|
|
|
|
<stockholm/tv/2configs/man.nix>
|
|
|
|
<stockholm/tv/2configs/nginx/public_html.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 = {
|
|
|
|
cryptoModules = [ "aes" "sha512" "xts" ];
|
|
|
|
devices = [
|
2017-01-08 12:07:58 +00:00
|
|
|
{ name = "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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-12-18 19:39:36 +00:00
|
|
|
networking.wireless.enable = true;
|
|
|
|
|
2015-07-11 14:55:22 +00:00
|
|
|
services.printing.enable = true;
|
|
|
|
|
|
|
|
services.udev.extraRules = ''
|
|
|
|
SUBSYSTEM=="net", ATTR{address}=="00:90:f5:da:aa:c3", NAME="en0"
|
|
|
|
SUBSYSTEM=="net", ATTR{address}=="a0:88:b4:1b:ae:6c", NAME="wl0"
|
|
|
|
|
|
|
|
# for jack
|
|
|
|
KERNEL=="rtc0", GROUP="audio"
|
|
|
|
KERNEL=="hpet", GROUP="audio"
|
|
|
|
'';
|
|
|
|
}
|