2016-10-20 18:54:38 +00:00
|
|
|
with import <stockholm/lib>;
|
2017-08-01 20:37:41 +00:00
|
|
|
{ config, pkgs, ... }: {
|
2016-07-07 20:31:50 +00:00
|
|
|
|
|
|
|
krebs.build.host = config.krebs.hosts.zu;
|
|
|
|
|
|
|
|
imports = [
|
2017-07-06 19:47:47 +00:00
|
|
|
<stockholm/tv>
|
|
|
|
<stockholm/tv/2configs/hw/x220.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>
|
2016-07-07 20:31:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.initrd.luks = {
|
|
|
|
cryptoModules = [ "aes" "sha512" "xts" ];
|
|
|
|
devices = [
|
|
|
|
{ name = "zuca"; device = "/dev/sda2"; }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems = {
|
|
|
|
"/" = {
|
|
|
|
device = "/dev/mapper/zuvga-root";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = ["defaults" "noatime" "ssd" "compress=lzo"];
|
|
|
|
};
|
2017-08-01 20:55:16 +00:00
|
|
|
"/bku" = {
|
|
|
|
device = "/dev/mapper/zuvga-bku";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = ["defaults" "noatime" "ssd" "compress=lzo"];
|
|
|
|
};
|
2016-07-07 20:31:50 +00:00
|
|
|
"/home" = {
|
|
|
|
device = "/dev/mapper/zuvga-home";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = ["defaults" "noatime" "ssd" "compress=lzo"];
|
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/sda1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-12-18 19:39:36 +00:00
|
|
|
networking.wireless.enable = true;
|
|
|
|
|
2016-07-07 20:31:50 +00:00
|
|
|
services.printing.enable = true;
|
|
|
|
|
|
|
|
#services.bitlbee.enable = true;
|
|
|
|
#services.tor.client.enable = true;
|
|
|
|
#services.tor.enable = true;
|
|
|
|
|
|
|
|
# The NixOS release to be compatible with for stateful data such as databases.
|
|
|
|
system.stateVersion = "15.09";
|
|
|
|
}
|