diff options
author | aszlig <aszlig@nix.build> | 2022-08-15 13:39:05 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2022-08-15 13:39:05 +0200 |
commit | 3e7cdd7fda64ce03e970d7379b8bf888fac8c273 (patch) | |
tree | 52beaff04b3bb14e216e72b1edebcaf4c40e113a /machines/aszlig/managed | |
parent | 3e01a0786b30db85f5abc4bfbce31baecf58098f (diff) |
machines/shakti: Remove machine config
The machine no longer exists, so it doesn't make sense to continuously build it on Hydra. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig/managed')
-rw-r--r-- | machines/aszlig/managed/shakti.nix | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/machines/aszlig/managed/shakti.nix b/machines/aszlig/managed/shakti.nix deleted file mode 100644 index e916914c..00000000 --- a/machines/aszlig/managed/shakti.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ pkgs, unfreeAndNonDistributablePkgs, lib, ... }: - -{ - boot.loader.efi.canTouchEfiVariables = true; - - boot.initrd.luks.devices = { - "00vault" = { - device = "/dev/disk/by-uuid/a70f4ff8-e463-42fa-8148-6783dd352f96"; - }; - shakti-swap = { - device = "/dev/disk/by-uuid/69f3a774-c796-4dbd-a38b-32f019d05e7c"; - keyFile = "/dev/mapper/00vault"; - }; - shakti-root = { - device = "/dev/disk/by-uuid/8a67bdf9-08bb-4214-b728-88cf1c2ee206"; - keyFile = "/dev/mapper/00vault"; - }; - }; - - boot.initrd.postDeviceCommands = lib.mkAfter '' - cryptsetup luksClose /dev/mapper/00vault - ''; - - boot.kernelModules = [ "kvm-amd" ]; - - # The machine has a weird HDMI->DVI adapter which doesn't report back EDID - # information and the monitor is also very weird because it doesn't - # understand the fallback modes. - boot.kernelParams = [ "drm_kms_helper.edid_firmware=edid/weird.bin" ]; - hardware.firmware = lib.singleton (pkgs.runCommandLocal "weird-edid" {} '' - mkdir -p "$out/lib/firmware/edid" - base64 -d > "$out/lib/firmware/edid/weird.bin" <<EOF - AP///////wAEaaEiAQEBASQRAQOALx1477U1pVZKmiUQUFS/74BxT4GAlQCzAAEBlQ+BioFA - ITmQMGIaJ0BosDYAsQ4RAAAcAAAA/QA3Sx5QEQIAIFBYAoAoAAAA/wA3OUxNTVMwMDAyMDAK - AAAA/ABBU1VTIFBHMjIxCiAgAc8CAxABSwIRBBMFFBAfCQAAjArQiiDgLRAQPpYAE44hAAAY - AR0AclHQHiBuKFUAxI4hAAAYAR2AGHEcFiBYLCUAxI4hAACe8zmAGHE4LUBYLEUAxI4hAAAe - jArQkCBAMSAMQFUAE44hAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAASw== - EOF - ''); - - environment.systemPackages = with pkgs; [ - mosh wget krita gphoto2 digikam unfreeAndNonDistributablePkgs.dropbox - firefox - ]; - - fileSystems."/boot".device = "/dev/disk/by-uuid/D54F-2AF3"; - fileSystems."/boot".fsType = "vfat"; - - fileSystems."/".device = "/dev/mapper/shakti-root"; - fileSystems."/".fsType = "btrfs"; - fileSystems."/".options = [ - "compress=zstd" - "noatime" - "space_cache" - ]; - - swapDevices = lib.singleton { - device = "/dev/mapper/shakti-swap"; - }; - - networking.hostName = "shakti"; - - hardware.cpu.amd.updateMicrocode = true; - - nix.maxJobs = 4; - - services.xserver.xkbOptions = "eurosign:e,caps:none"; - - services.deluge.enable = true; - - vuizvui.user.aszlig.profiles.managed.enable = true; - vuizvui.user.aszlig.profiles.managed.mainUser = "aortab"; -} |