feat(systems): Add new system ocicat
Coded has gotten a new laptop and therefore needs another system, this
is that
Change-Id: I4287715eda72de11055360a0342c03898496c810
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/762
Tested-by: Samuel Shuert <coded@clicks.codes>
Reviewed-by: Samuel Shuert <coded@clicks.codes>
diff --git a/systems/x86_64-linux/ocicat/hardware/cpu/default.nix b/systems/x86_64-linux/ocicat/hardware/cpu/default.nix
new file mode 100644
index 0000000..c019598
--- /dev/null
+++ b/systems/x86_64-linux/ocicat/hardware/cpu/default.nix
@@ -0,0 +1,4 @@
+{ lib, config, ... }:
+{
+ hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+}
diff --git a/systems/x86_64-linux/ocicat/hardware/filesystems/default.nix b/systems/x86_64-linux/ocicat/hardware/filesystems/default.nix
new file mode 100644
index 0000000..77b98e2
--- /dev/null
+++ b/systems/x86_64-linux/ocicat/hardware/filesystems/default.nix
@@ -0,0 +1,18 @@
+{ ... }:
+{
+ fileSystems."/" = {
+ device = "/dev/mapper/NIXROOT";
+ fsType = "btrfs";
+ };
+
+ # fileSystems."/backups" = {
+ # device = "/dev/mapper/BACKUPS";
+ # fsType = "btrfs";
+ # };
+
+ fileSystems."/boot" = {
+ device = "/dev/disk/by-uuid/90EA-208A";
+ fsType = "vfat";
+ options = [ "umask=0022" ];
+ };
+}