From 041ce0709277b7cd289cc861a456a7af79743604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Tue, 11 Apr 2023 16:54:38 +0200 Subject: [PATCH] chore(hardware): remove unused RPi4 config --- hardware/rpi4.nix | 48 ----------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 hardware/rpi4.nix diff --git a/hardware/rpi4.nix b/hardware/rpi4.nix deleted file mode 100644 index 54e8fca..0000000 --- a/hardware/rpi4.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ config, lib, pkgs, modulesPath, ... }: - -{ - boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/7bb1e67d-8c6f-4ace-b8e7-b09cdfd82cab"; - fsType = "btrfs"; - options = [ "subvol=@" "compress-force=zstd:1" "noatime" ]; - }; - - boot.initrd.luks.devices."enc".device = - "/dev/disk/by-uuid/d163376b-a038-4196-8ef5-7c7fb5508f0c"; - - fileSystems."/home" = { - device = "/dev/disk/by-uuid/7bb1e67d-8c6f-4ace-b8e7-b09cdfd82cab"; - fsType = "btrfs"; - options = [ "subvol=@home" "compress-force=zstd:1" "noatime" ]; - }; - - fileSystems."/.swap" = { - device = "/dev/disk/by-uuid/7bb1e67d-8c6f-4ace-b8e7-b09cdfd82cab"; - fsType = "btrfs"; - options = [ "subvol=@swap" "nodatacow" "noatime" ]; - neededForBoot = true; - }; - - fileSystems."/.snapshots" = { - device = "/dev/disk/by-uuid/7bb1e67d-8c6f-4ace-b8e7-b09cdfd82cab"; - fsType = "btrfs"; - options = [ "subvol=@snapshots" "compress-force=zstd:1" "noatime" ]; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/9ECA-C9A7"; - fsType = "vfat"; - }; - - swapDevices = [{ - device = "/.swap/swapfile"; - size = 4096; - }]; - - powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; -}