aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/sda-simple.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-01-16 05:35:13 -0800
committerPreston Pan <ret2pop@gmail.com>2025-01-16 05:35:13 -0800
commit2b10a467c18f85b0e00b978b943e0efdbcee74bd (patch)
tree3efd5e4aa28d81276c68f1753f05d5e62c62d8c6 /nix/modules/sda-simple.nix
parent39412ea8c6431a3c06b7e5945c5cd7b01a53de45 (diff)
add kubo ipfs
Diffstat (limited to 'nix/modules/sda-simple.nix')
-rw-r--r--nix/modules/sda-simple.nix12
1 files changed, 2 insertions, 10 deletions
diff --git a/nix/modules/sda-simple.nix b/nix/modules/sda-simple.nix
index 1513d82..fdf6556 100644
--- a/nix/modules/sda-simple.nix
+++ b/nix/modules/sda-simple.nix
@@ -1,16 +1,8 @@
-{ config, lib, ... }:
{
- options.monorepo.vars.disk = lib.mkOption {
- type = lib.types.str;
- default = "/dev/sda";
- example = "/dev/nvme0n1";
- description = "Disk to install NixOS to";
- };
-
- config.disko.devices = {
+ disko.devices = {
disk = {
my-disk = {
- device = config.monorepo.vars.disk;
+ device = "/dev/sda";
type = "disk";
content = {
type = "gpt";