aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/sda-simple.nix
diff options
context:
space:
mode:
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";