This commit is contained in:
parent
abce966b76
commit
0c31a7326d
12 changed files with 76 additions and 54 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{ host, pkgs, config, lib, ...}:
|
||||
let cfg = config.system-net; in {
|
||||
options.system-net = {
|
||||
let cfg = config.machine.net; in {
|
||||
options.machine.net = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ host, pkgs, config, lib, ...}:
|
||||
let cfg = config.system-nix; in {
|
||||
options.system-nix = {
|
||||
let cfg = config.machine.nix; in {
|
||||
options.machine.nix = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, config, lib, ...}:
|
||||
let cfg = config.system-pkgs; in {
|
||||
options.system-pkgs = {
|
||||
let cfg = config.machine.pkgs; in {
|
||||
options.machine.pkgs = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.system-sys;
|
||||
cfg = config.machine.sys;
|
||||
in
|
||||
{
|
||||
options.system-sys = {
|
||||
options.machine.sys = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue