mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 21:29:12 +02:00
14 lines
327 B
Nix
14 lines
327 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 = "sway-session.target";
|
|
};
|
|
};
|
|
|
|
}
|