aboutsummaryrefslogtreecommitdiff
path: root/hosts/jupiter/disks.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jupiter/disks.nix')
-rw-r--r--hosts/jupiter/disks.nix54
1 files changed, 30 insertions, 24 deletions
diff --git a/hosts/jupiter/disks.nix b/hosts/jupiter/disks.nix
index ebf76e4..a5b5fae 100644
--- a/hosts/jupiter/disks.nix
+++ b/hosts/jupiter/disks.nix
@@ -1,28 +1,34 @@
-{
- disko.enableConfig = true;
- disko.devices = {
- disk.main = {
- device = "/dev/nvme0n1";
- type = "disk";
- content = {
- type = "gpt";
- partitions = {
- ESP = {
- type = "EF00";
- size = "1G";
- content = {
- type = "filesystem";
- format = "vfat";
- mountpoint = "/boot";
- mountOptions = ["umask=0077"];
+{inputs, ...}: {
+ imports = [
+ inputs.disko.nixosModules.default
+ ];
+
+ disko = {
+ enableConfig = true;
+ devices = {
+ disk.main = {
+ device = "/dev/nvme0n1";
+ type = "disk";
+ content = {
+ type = "gpt";
+ partitions = {
+ ESP = {
+ type = "EF00";
+ size = "1G";
+ content = {
+ type = "filesystem";
+ format = "vfat";
+ mountpoint = "/boot";
+ mountOptions = ["umask=0077"];
+ };
};
- };
- root = {
- size = "100%";
- content = {
- type = "filesystem";
- format = "ext4";
- mountpoint = "/";
+ root = {
+ size = "100%";
+ content = {
+ type = "filesystem";
+ format = "ext4";
+ mountpoint = "/";
+ };
};
};
};