This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/home/Vanguard.nix

51 lines
1.1 KiB
Nix

{
config,
pkgs,
...
}: {
imports = [
./default.nix
../programs/games/default.nix
];
home.packages = with pkgs; [
blender
freecad
prusa-slicer
];
wayland.windowManager.sway.config = let
defaultOutput = "DP-2";
in {
output = {
"Acer Technologies ED270R TJMEE0043W01" = {
mode = "1920x1080@165Hz";
position = "1080 420";
adaptive_sync = "off";
};
"Ancor Communications Inc VS278 FALMQS032358" = {
position = "0 0";
transform = "270";
};
};
workspaceOutputAssign = [
{
output = defaultOutput;
workspace = "1";
}
];
startup = [
{command = "${pkgs.xorg.xrandr}/bin/xrandr --output ${defaultOutput} --primary";}
];
};
programs.waybar.settings = {
main.output = ["DP-2"];
alt = {
inherit (config.programs.waybar.settings.main) layer position "sway/workspaces";
name = "alt";
output = ["HDMI-A-1"];
"modules-left" = ["sway/workspaces"];
"modules-center" = [];
"modules-right" = ["clock"];
};
};
}