Evie Litherland-Smith
05d19c1813
Split system-level sway and plasma config into separate files, move sway-specific home-level config to sway file. Only truly common desktop components are kept in common spaces. This allows much easier switching between using KDE Plasma and Sway.
44 lines
964 B
Nix
44 lines
964 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./personal.nix
|
|
./games/default.nix
|
|
./streaming/default.nix
|
|
./desktop/plasma/default.nix
|
|
];
|
|
home.packages = with pkgs; [blender prusa-slicer];
|
|
wayland.windowManager.sway = lib.mkIf config.wayland.windowManager.sway.enable {
|
|
config = {
|
|
output = {
|
|
"Microstep MSI G27CQ4 E2 Unknown" = {
|
|
mode = "2560x1440@120Hz";
|
|
position = "1920 0";
|
|
adaptive_sync = "on";
|
|
};
|
|
"Acer Technologies ED270R TJMEE0043W01" = {
|
|
mode = "1920x1080@120Hz";
|
|
position = "0 140";
|
|
adaptive_sync = "off";
|
|
};
|
|
};
|
|
workspaceOutputAssign = [
|
|
{
|
|
output = "DP-1";
|
|
workspace = "2";
|
|
}
|
|
{
|
|
output = "DP-2";
|
|
workspace = "1";
|
|
}
|
|
];
|
|
startup = [
|
|
{command = "${pkgs.xorg.xrandr}/bin/xrandr --output DP-1 --primary";}
|
|
];
|
|
};
|
|
};
|
|
}
|