mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-15 05:39:11 +02:00
wip: migrate client modules
This commit is contained in:
parent
f6d2ff1544
commit
7ce27d5d2f
245 changed files with 20254 additions and 188 deletions
14
modules-clone/nixos/common/topology.nix
Normal file
14
modules-clone/nixos/common/topology.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
options.swarselsystems.info = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
};
|
||||
config.topology = {
|
||||
id = config.node.name;
|
||||
self = {
|
||||
hardware.info = config.swarselsystems.info;
|
||||
icon = lib.mkIf config.swarselsystems.isLaptop "devices.laptop";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue