mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2026-01-02 22:29:52 +01:00
16 lines
354 B
Nix
16 lines
354 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.my.profiles.sway-autostart;
|
|
in
|
|
{
|
|
options.my.profiles.sway-autostart = with lib; {
|
|
enable = mkEnableOption "sway-autostart profile";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.displayManager.lemurs = {
|
|
enable = true;
|
|
settings.environment_switcher.include_tty_shell = true;
|
|
};
|
|
};
|
|
}
|