noctalia shit mostly
This commit is contained in:
parent
7b9b6c1cdd
commit
34dd048981
14 changed files with 398 additions and 144 deletions
22
modules/device/default.nix
Normal file
22
modules/device/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options = {
|
||||
device.type = lib.mkOption {
|
||||
default = "minimal";
|
||||
description = "device type (desktop, laptop, server, minimal) for base config";
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
./minimal.nix
|
||||
./desktop.nix
|
||||
./laptop.nix
|
||||
./server.nix
|
||||
];
|
||||
}
|
||||
10
modules/device/desktop.nix
Normal file
10
modules/device/desktop.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = { };
|
||||
}
|
||||
10
modules/device/laptop.nix
Normal file
10
modules/device/laptop.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = { };
|
||||
}
|
||||
10
modules/device/minimal.nix
Normal file
10
modules/device/minimal.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = { };
|
||||
}
|
||||
10
modules/device/server.nix
Normal file
10
modules/device/server.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = { };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue