aboutsummaryrefslogtreecommitdiff
path: root/hosts/jupiter/disks.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-22 11:08:57 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-22 11:08:57 -0600
commit87763bcc7d13e92b96c5743507795fba4444eabe (patch)
tree1c394be7bbc358bc8dc3ad119f6ebf150ff0f974 /hosts/jupiter/disks.nix
parent4bbaf8fff29ea4f50771025327cb16ed8995aab7 (diff)
give up on agenix; set up remote deploys (not currently working)
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 = "/";
+ };
};
};
};