mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
14 lines
335 B
Nix
14 lines
335 B
Nix
{ lib, config, ... }:
|
|
let
|
|
moduleName = "autotiling";
|
|
in
|
|
{
|
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
|
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
|
services.${moduleName} = {
|
|
enable = true;
|
|
systemdTarget = config.wayland.systemd.target;
|
|
};
|
|
};
|
|
|
|
}
|