DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

071cd421b7e9e7dbae59b0eaeb4a4539816d8122 — Jonni Liljamo 24 days ago c56201b master
feat: arwen kanshi
2 files changed, 34 insertions(+), 5 deletions(-)

M modules/hosts/ws/arwen/default.nix
M modules/hosts/ws/arwen/niri.kdl
M modules/hosts/ws/arwen/default.nix => modules/hosts/ws/arwen/default.nix +34 -0
@@ 57,6 57,40 @@ in {
                    {
                      home.stateVersion = config.system.stateVersion;
                      home.file.".config/niri/config.kdl".source = ./niri.kdl;

                      services.kanshi = {
                        enable = true;
                        systemdTarget = "graphical-session.target";
                        settings = let
                          internal = {
                            criteria = "eDP-1";
                            mode = "1920x1080@60.008";
                            scale = 1.0;
                          };
                        in [
                          {
                            profile.name = "standalone";
                            profile.outputs = [
                              internal
                            ];
                          }
                          {
                            profile.name = "deskgaming";
                            profile.outputs = [
                              (
                                internal
                                // {
                                  status = "disable";
                                }
                              )
                              {
                                criteria = "PNP(BNQ) BenQ EL2870U H9J03659SL0";
                                mode = "1920x1080@60.000";
                              }
                            ];
                          }
                        ];
                      };
                    }

                    # TODO: see alice

M modules/hosts/ws/arwen/niri.kdl => modules/hosts/ws/arwen/niri.kdl +0 -5
@@ 10,11 10,6 @@ input {
  focus-follows-mouse
}

output "eDP-1" {
  mode "1920x1080@60.008"
  scale 1
}

layout {
  gaps 8