summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/pnp/config.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-28 23:59:58 +0200
committerlassulus <git@lassul.us>2023-07-28 23:59:58 +0200
commit02e790c9fb6965e28f1573841181f610ff1599eb (patch)
tree5462ffe78c3708806821d893baa6a2c81137812f /makefu/1systems/pnp/config.nix
parentfd07efa9e97b0984856a97a44ad0b97130db92f7 (diff)
parent3f37acf6f9ea4af21195cd7b0a37ba359105a69d (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/1systems/pnp/config.nix')
-rw-r--r--makefu/1systems/pnp/config.nix50
1 files changed, 0 insertions, 50 deletions
diff --git a/makefu/1systems/pnp/config.nix b/makefu/1systems/pnp/config.nix
deleted file mode 100644
index 6c9fc0606..000000000
--- a/makefu/1systems/pnp/config.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-# Usage:
-# NIX_PATH=secrets=/home/makefu/secrets/wry:nixpkgs=/var/src/nixpkgs nix-build -A users.makefu.pnp.config.system.build.vm
-# result/bin/run-pnp-vm -virtfs local,path=/home/makefu/secrets/pnp,security_model=none,mount_tag=secrets
-{ config, pkgs, ... }:
-
-{
- imports =
- [
- <stockholm/makefu>
- <stockholm/makefu/2configs/headless.nix>
-
- # these will be overwritten by qemu-vm.nix but will be used if the system
- # is directly deployed
- <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
- <stockholm/makefu/2configs/fs/vm-single-partition.nix>
-
- <stockholm/makefu/2configs/tinc/retiolum.nix>
-
- # config.system.build.vm
- (toString <nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>)
- ];
-
- virtualisation.graphics = false;
- # also export secrets, see Usage above
- fileSystems = pkgs.lib.mkVMOverride {
- "${builtins.toString <secrets>}" =
- { device = "secrets";
- fsType = "9p";
- options = [ "trans=virtio" "version=9p2000.L" "cache=loose" ];
- neededForBoot = true;
- };
- };
-
- krebs.Reaktor.debug = {
- debug = true;
- extraEnviron = {
- # TODO: remove hard-coded server
- REAKTOR_HOST = "irc.r";
- };
- plugins = with pkgs.ReaktorPlugins; [ stockholm-issue nixos-version sed-plugin ];
- channels = [ "#xxx" ];
- };
-
- krebs.build.host = config.krebs.hosts.pnp;
-
- networking.firewall.allowedTCPPorts = [
- 25
- ];
-
-}