summaryrefslogtreecommitdiffstats
path: root/1systems/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-07-24 22:39:11 +0200
committermakefu <github@syntax-fehler.de>2015-07-24 22:39:11 +0200
commit8fff2bebdb150d096095f57fa12a1c1f6a6a5547 (patch)
tree6cc7c5b1c968dea7ae58ad58a20c0978bfc6c56b /1systems/makefu
parenta4d676e4c5cd2c5cfcd9388074ba74c7714f754a (diff)
pnp provides cgit, update identity
Diffstat (limited to '1systems/makefu')
-rw-r--r--1systems/makefu/pnp.nix20
1 files changed, 18 insertions, 2 deletions
diff --git a/1systems/makefu/pnp.nix b/1systems/makefu/pnp.nix
index 51f5bb0..f98cd52 100644
--- a/1systems/makefu/pnp.nix
+++ b/1systems/makefu/pnp.nix
@@ -9,7 +9,10 @@
[ # Include the results of the hardware scan.
<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
../../2configs/makefu/base.nix
+ ../../3modules/krebs/retiolum.nix
+ ../../2configs/makefu/cgit-retiolum.nix
];
+ krebs.enable = true;
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/vda";
@@ -20,19 +23,32 @@
hardware.enableAllFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
+ # networking.firewall is enabled by default
+ networking.firewall.allowedTCPPorts = [ 80 ];
+
fileSystems."/" =
{ device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
+ krebs.retiolum = {
+ enable = true;
+ hosts = ../../Zhosts;
+ connectTo = [
+ "gum"
+ "pigstarter"
+ "fastpoke"
+ ];
+ };
nix.maxJobs = 1;
networking.hostName = "pnp"; # Define your hostname.
# $ nix-env -qaP | grep wget
- environment.systemPackages = with pkgs; [
+ environment.systemPackages = with pkgs; [
wget
git
gnumake
- ];
+ jq
+ ];
}