about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2019-03-20 00:49:11 +0100
committeraszlig <aszlig@nix.build>2019-03-20 00:49:11 +0100
commit3f2496cd7299bfe54a787cde4aec42b84494a7d6 (patch)
tree16059352053b025747d0ced8bb5ecb6844027b27 /machines/aszlig
parentf5cabebf5d5dc7a314e394b4fee3b89c983060fa (diff)
machines: Remove kzerza
This machine was used for controlling the LED lighting bars at
Rockfabrik. I no longer work there and the machine has subsequently been
replaced by something else, so I don't need kzerza anymore.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig')
-rw-r--r--machines/aszlig/kzerza.nix69
1 files changed, 0 insertions, 69 deletions
diff --git a/machines/aszlig/kzerza.nix b/machines/aszlig/kzerza.nix
deleted file mode 100644
index 98b8867a..00000000
--- a/machines/aszlig/kzerza.nix
+++ /dev/null
@@ -1,69 +0,0 @@
-{ pkgs, lib, ... }:
-
-let
-  rootUUID = "ad41f848-d14a-4a89-9d04-3e48bd73dc5c";
-  diskID = "usb-0000_Removable_Drive_23372707080836980013-0:0";
-in {
-  vuizvui.user.aszlig.profiles.base.enable = true;
-  vuizvui.createISO = true;
-
-  services.xserver.enable = lib.mkForce false;
-
-  services.gpm.enable = true;
-  services.gpm.protocol = "exps2";
-
-  boot = {
-    kernelParams = lib.singleton "consoleblank=0";
-    initrd.kernelModules = [ "fbcon" "usb_storage" ];
-    loader.grub.device = "/dev/disk/by-id/${diskID}";
-  };
-
-  networking.hostName = "kzerza";
-
-  fileSystems."/".device = "/dev/disk/by-uuid/${rootUUID}";
-  fileSystems."/".fsType = "btrfs";
-  fileSystems."/".options = [
-    "ssd"
-    "space_cache"
-    "compress-force=zlib"
-    "noatime"
-  ];
-
-  services.udev.extraRules = ''
-    SUBSYSTEM=="usb*|tty", ACTION=="add|change", ATTRS{idVendor}=="0403", \
-      ATTRS{idProduct}=="6001", OWNER="grandpa"
-  '';
-
-  fileSystems."/tmp".device = "none";
-  fileSystems."/tmp".fsType = "tmpfs";
-  fileSystems."/tmp".options = [ "nosuid" "nodev" "relatime" ];
-
-  users.groups.grandpa.gid = 666;
-  users.users.grandpa = {
-    uid = 666;
-    description = "GrandPA User";
-    group = "grandpa";
-    createHome = true;
-  };
-
-  systemd.services.grandpa = {
-    description = "GrandPA Lighting Controller";
-    wantedBy = [ "multi-user.target" ];
-    preStart = "${pkgs.kbd}/bin/chvt 7";
-    serviceConfig = {
-      Type = "idle";
-      ExecStart = "${pkgs.vuizvui.aszlig.grandpa}/bin/grandpa";
-      ExecStopPost = "${pkgs.systemd}/bin/systemctl poweroff";
-      Restart = "on-failure";
-      StandardInput = "tty";
-      StandardOutput = "tty";
-      TTYPath = "/dev/tty7";
-      TTYVTDisallocate = true;
-      User = "grandpa";
-      Group = "grandpa";
-      PermissionsStartOnly = true;
-      PrivateTmp = true;
-      PrivateNetwork = true;
-    };
-  };
-}