My Nix Configuration

[modules.home] Fix kanshi config

Changed files
+10 -7
homes
x86_64-linux
pyrox@zaphod
modules
home
profiles
services
kanshi
+8 -6
homes/x86_64-linux/pyrox@zaphod/default.nix
···
status = "enable";
scale = 1.2;
position = "0,0";
+
adaptiveSync = true;
}
];
};
···
profile = {
name = "office";
outputs = [
-
{
-
criteria = "Acer Technologies SA241Y";
-
status = "enable";
-
scale = 1.0;
-
position = "2200,0";
-
}
{
criteria = "eDP-1";
status = "enable";
scale = 1.2;
position = "0,0";
+
adaptiveSync = true;
+
}
+
{
+
criteria = "Acer Technologies SA241Y 0x1497CF17";
+
status = "enable";
+
scale = 1.0;
+
position = "2160,0";
}
];
};
+1
modules/home/profiles/gui/default.nix
···
};
services = {
gpg-agent.enable = mkDefault true;
+
kanshi.enable = mkDefault true;
kdeconnect.enable = mkDefault true;
mako.enable = mkDefault true;
swayidle.enable = mkDefault true;
+1 -1
modules/home/services/kanshi/default.nix
···
options.py.services.kanshi = {
enable = lib.mkEnableOption "kanshi";
settings = lib.mkOption {
-
type = lib.types.list;
+
type = lib.types.listOf lib.types.attrs;
default = [ ];
description = "The value of `config.services.kanshi.settings`.";
};