mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
14 lines
323 B
Nix
14 lines
323 B
Nix
{ self, 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";
|
|
};
|
|
};
|
|
}
|