mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 17:43:55 -05:00
14 lines
261 B
Nix
14 lines
261 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.alyraffauf.desktop.sway.tabletMode.autoRotate {
|
|
home.packages = with pkgs; [rot8];
|
|
wayland.windowManager.sway.config.startup = [
|
|
{command = "${lib.getExe pkgs.rot8}";}
|
|
];
|
|
};
|
|
}
|