mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 13:29:22 +02:00
configure sway
This commit is contained in:
parent
b9f8707355
commit
a6320ef865
3 changed files with 38 additions and 0 deletions
36
home-modules/sway/default.nix
Normal file
36
home-modules/sway/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.jopejoe1.sway;
|
||||
in
|
||||
{
|
||||
options.jopejoe1.sway = {
|
||||
enable = lib.mkEnableOption "Enable Sway";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = {
|
||||
output = {
|
||||
HDMI-A-4 = {
|
||||
mode = "1280x1024@75.025Hz";
|
||||
};
|
||||
HDMI-A-3 = {
|
||||
mode = "2560x1440@143.991Hz";
|
||||
adaptive_sync = "on";
|
||||
};
|
||||
DP-3 = {
|
||||
mode = "1920x1080@60.000Hz";
|
||||
transform ="90";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue