summaryrefslogtreecommitdiffstats
path: root/1systems
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-04-03 21:42:13 +0200
committermakefu <github@syntax-fehler.de>2016-04-03 21:42:13 +0200
commitfc359fc27b404b0b21b458dcca6e8f3ba2d51ddf (patch)
treebc200bf013d5caa713717e51a564d81924cf2760 /1systems
parent9a87a0c603c4a762bea78358b984d87f4d195faa (diff)
ma 1 darth: add virtualization
Diffstat (limited to '1systems')
-rw-r--r--1systems/darth.nix20
1 files changed, 16 insertions, 4 deletions
diff --git a/1systems/darth.nix b/1systems/darth.nix
index ad3ac4f22..2f2358ddc 100644
--- a/1systems/darth.nix
+++ b/1systems/darth.nix
@@ -10,15 +10,27 @@ let
allDisks = [ rootDisk auxDisk ];
in {
imports = [
- ../.
- ../2configs/fs/single-partition-ext4.nix
- ../2configs/zsh-user.nix
- ../2configs/smart-monitor.nix
+ ../.
+ ../2configs/fs/single-partition-ext4.nix
+ ../2configs/zsh-user.nix
+ ../2configs/smart-monitor.nix
+ ../2configs/exim-retiolum.nix
+ ../2configs/virtualization.nix
];
+ networking.firewall.allowedUDPPorts = [ 80 655 67 ];
+ networking.firewall.allowedTCPPorts = [ 80 655 ];
+ networking.firewall.checkReversePath = false;
+ #networking.firewall.enable = false;
# virtualisation.nova.enableSingleNode = true;
krebs.retiolum.enable = true;
+ boot.kernelModules = [ "coretemp" "f71882fg" ];
+
+ hardware.enableAllFirmware = true;
+ nixpkgs.config.allowUnfree = true;
+ networking.wireless.enable = true;
+
# TODO smartd omo darth gum all-in-one
services.smartd.devices = builtins.map (x: { device = x; }) allDisks;
zramSwap.enable = true;