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