mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:48:12 +09:00
52 lines
1001 B
Nix
52 lines
1001 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
# This desktop is permanently connected to AC power.
|
|
systemd.user.services.swayidle.Service.Environment = [
|
|
"SWAYIDLE_ASSUME_AC=1"
|
|
];
|
|
|
|
services.kanshi = {
|
|
enable = true;
|
|
|
|
settings = [
|
|
{
|
|
profile = {
|
|
name = "galleria";
|
|
|
|
outputs = [
|
|
{
|
|
criteria = "HDMI-A-1";
|
|
status = "enable";
|
|
position = "0,0";
|
|
scale = 1.5;
|
|
}
|
|
{
|
|
criteria = "DP-1";
|
|
status = "enable";
|
|
position = "2560,0";
|
|
}
|
|
{
|
|
criteria = "DP-2";
|
|
status = "enable";
|
|
position = "5120,0";
|
|
scale = 1.5;
|
|
}
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
|
|
home.file.".wallpapers" = {
|
|
source = lib.mkForce (
|
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/Pictures/wallpapers"
|
|
);
|
|
|
|
recursive = lib.mkForce false;
|
|
};
|
|
}
|