added disks to tunyon
This commit is contained in:
parent
ca9601459c
commit
f839e37b9b
3 changed files with 10 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
{ pkgs, config, ... }: {
|
||||
imports = [
|
||||
./options.nix
|
||||
./disks.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
|
7
devices/tunyon/disks.nix
Normal file
7
devices/tunyon/disks.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }: {
|
||||
disks = {
|
||||
boot = "";
|
||||
crypt = "";
|
||||
root = "";
|
||||
};
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, ... }: {
|
||||
options = let
|
||||
inherit (lib) mkOption mkEnableOption;
|
||||
inherit (lib.types) nullOr str attrsOf;
|
||||
inherit (lib.types) nullOr attrsOf str;
|
||||
in {
|
||||
full = mkEnableOption "Enable complete configuration for end-user machine";
|
||||
|
||||
|
@ -17,11 +17,7 @@
|
|||
|
||||
disks = mkOption {
|
||||
type = attrsOf str;
|
||||
default = {
|
||||
boot = "";
|
||||
crypt = "";
|
||||
root = "";
|
||||
};
|
||||
default = { };
|
||||
example = {
|
||||
boot = "4672-C1A9";
|
||||
crypt = "747ae319-f189-44f5-9737-a42672e2c02d";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue