diff options
author | lassulus <git@lassul.us> | 2023-07-28 23:59:58 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-07-28 23:59:58 +0200 |
commit | 02e790c9fb6965e28f1573841181f610ff1599eb (patch) | |
tree | 5462ffe78c3708806821d893baa6a2c81137812f /makefu/1systems/omo/hw/tsp.nix | |
parent | fd07efa9e97b0984856a97a44ad0b97130db92f7 (diff) | |
parent | 3f37acf6f9ea4af21195cd7b0a37ba359105a69d (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/1systems/omo/hw/tsp.nix')
-rw-r--r-- | makefu/1systems/omo/hw/tsp.nix | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/makefu/1systems/omo/hw/tsp.nix b/makefu/1systems/omo/hw/tsp.nix deleted file mode 100644 index a289fadce..000000000 --- a/makefu/1systems/omo/hw/tsp.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ pkgs, ... }: -with builtins; -let - disko = import (builtins.fetchGit { - url = https://cgit.lassul.us/disko/; - rev = "9c9b62e15e4ac11d4379e66b974f1389daf939fe"; - }); - cfg = fromJSON (readFile ../../hardware/tsp-disk.json); - # primaryInterface = "enp1s0"; - primaryInterface = "wlp2s0"; - rootDisk = "/dev/sda"; # TODO same as disko uses -in { - imports = [ - (disko.config cfg) - ]; - makefu.server.primary-itf = primaryInterface; - boot = { - loader.grub.device = rootDisk; - - initrd.availableKernelModules = [ - "ahci" - "ohci_pci" - "ehci_pci" - "pata_atiixp" - "firewire_ohci" - "usb_storage" - "usbhid" - ]; - - kernelModules = [ "kvm-intel" ]; - }; - networking.wireless.enable = true; - hardware.enableRedistributableFirmware = true; - hardware.cpu.intel.updateMicrocode = true; - services.logind.lidSwitch = "ignore"; - services.logind.lidSwitchDocked = "ignore"; - services.logind.extraConfig = '' - HandleSuspendKey = ignore - ''; - powerManagement.enable = false; -} |