From fa38155eec9563dc9dc620a77900d87b97443cfe Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 15 Jul 2017 18:57:16 +0200 Subject: ma: move systems to subdir, init source --- makefu/1systems/pnp.nix | 50 ------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 makefu/1systems/pnp.nix (limited to 'makefu/1systems/pnp.nix') diff --git a/makefu/1systems/pnp.nix b/makefu/1systems/pnp.nix deleted file mode 100644 index 971676b79..000000000 --- a/makefu/1systems/pnp.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 = - [ - ../. - ../2configs/headless.nix - ../../krebs/3modules/Reaktor.nix - - # these will be overwritten by qemu-vm.nix but will be used if the system - # is directly deployed - - ../2configs/fs/vm-single-partition.nix - - ../2configs/tinc/retiolum.nix - - # config.system.build.vm - (toString ) - ]; - - virtualisation.graphics = false; - # also export secrets, see Usage above - fileSystems = pkgs.lib.mkVMOverride { - "${builtins.toString }" = - { device = "secrets"; - fsType = "9p"; - options = "trans=virtio,version=9p2000.L,cache=loose"; - neededForBoot = true; - }; - }; - - krebs.Reaktor.debug = { - debug = true; - extraEnviron = { - REAKTOR_HOST = "ni.r"; - }; - plugins = with pkgs.ReaktorPlugins; [ stockholm-issue nixos-version sed-plugin ]; - channels = [ "#retiolum" ]; - }; - - krebs.build.host = config.krebs.hosts.pnp; - - networking.firewall.allowedTCPPorts = [ - 25 - ]; - -} -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/7d300000.lock: No such file or directory (2)