diff options
Diffstat (limited to 'systems/zu/config.nix')
-rw-r--r-- | systems/zu/config.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/systems/zu/config.nix b/systems/zu/config.nix new file mode 100644 index 0000000..01e0441 --- /dev/null +++ b/systems/zu/config.nix @@ -0,0 +1,49 @@ +{ config, ... }: { + krebs.build.host = config.krebs.hosts.zu; + + imports = [ + ../../configs/hw/x220.nix + ../../configs/exim-retiolum.nix + ../../configs/gitrepos.nix + ../../configs/mail-client.nix + ../../configs/man.nix + ../../configs/nginx/public_html.nix + ../../configs/pulse.nix + ../../configs/retiolum.nix + ../../configs/xserver + ]; + + boot.initrd.luks.devices.zuca.device = "/dev/sda2"; + + fileSystems = { + "/" = { + device = "/dev/mapper/zuvga-root"; + fsType = "btrfs"; + options = ["defaults" "noatime" "ssd" "compress=lzo"]; + }; + "/bku" = { + device = "/dev/mapper/zuvga-bku"; + fsType = "btrfs"; + options = ["defaults" "noatime" "ssd" "compress=lzo"]; + }; + "/home" = { + device = "/dev/mapper/zuvga-home"; + fsType = "btrfs"; + options = ["defaults" "noatime" "ssd" "compress=lzo"]; + }; + "/boot" = { + device = "/dev/sda1"; + }; + }; + + networking.wireless.enable = true; + + 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"; +} |