From 4e970f7cc35d2747af0baa6fca9df5abc18bee43 Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Sat, 14 Jun 2025 15:01:30 -0500 Subject: hosts: Rename ades/* to bean/* --- hosts/bean/pinto.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hosts/bean/pinto.nix (limited to 'hosts/bean/pinto.nix') diff --git a/hosts/bean/pinto.nix b/hosts/bean/pinto.nix new file mode 100644 index 0000000..ab00833 --- /dev/null +++ b/hosts/bean/pinto.nix @@ -0,0 +1,26 @@ +{ lib, ... }: + +let swapPart = "/dev/sda2"; +in +{ + boot.loader.grub = { + enable = true; + devices = ["/dev/sda"]; + }; + + boot.resumeDevice = swapPart; + + fileSystems."/" = lib.mkForce { + device = "/dev/sda1"; + fsType = "ext4"; + }; + + fileSystems."/home" = lib.mkForce { + device = "/dev/sda3"; + fsType = "ext4"; + }; + + swapDevices = [ + { device = swapPart; } + ]; +} -- cgit v1.2.3