From f590d0686c0de38c9064ffe8d9e11a4655f44924 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sat, 5 Oct 2024 22:03:13 +0800 Subject: [PATCH] Revert "home/kanshi: drop" This reverts commit c158f2d81b5902c93cd409b63fee6a02f359b582. --- home/applications/kanshi/default.nix | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 home/applications/kanshi/default.nix diff --git a/home/applications/kanshi/default.nix b/home/applications/kanshi/default.nix new file mode 100644 index 0000000..e6fa6cb --- /dev/null +++ b/home/applications/kanshi/default.nix @@ -0,0 +1,30 @@ +{ + services.kanshi = { + enable = true; + settings = [ + { + profile.name = "internal"; + profile.outputs = [ + { + criteria = "eDP-1"; + status = "enable"; + } + ]; + } + { + profile.name = "external"; + profile.outputs = [ + { + criteria = "eDP-1"; + status = "disable"; + } + { + criteria = "ASUSTek COMPUTER INC VG27AQML1A S5LMQS059959"; + mode = "2560x1440@119.998"; + status = "enable"; + } + ]; + } + ]; + }; +}