{ pkgs, lib, osConfig, ... }: let cfg = osConfig.mods; in { # Modules mods.xdg.enable = true; mods.social.enable = true; mods.i3.enable = true; mods.terminal.zsh.enable = true; mods.terminal.emulator.enable = true; mods.terminal.development.enable = true; mods.terminal.tools.enable = true; mods.desktop.development.enable = true; mods.desktop.productivity.enable = true; mods.desktop.media.enable = true; # Hardware preferences ## Monitors xsession.windowManager.i3.config.workspaceOutputAssign = [{ workspace = "1"; output = "${cfg.monitors.primary.name}"; }]; services.autorandr.enable = true; programs.autorandr = { enable = true; hooks.postswitch = { "notify-i3" = "${pkgs.i3}/bin/i3-msg restart"; "set-wallpaper" = '' ${lib.getExe pkgs.feh} --bg-fill --nofehbg ${./wallpaper.png} ''; }; profiles.default = { fingerprint = { "${cfg.monitors.primary.name}" = '' 00ffffffffffff004c2d850433324d43 1a120103803420782aee91a3544c9926 0f5054bfef80714f8100814081809500 a940b30001011a3680a070381f403020 350006202000001a000000fd00384b1e 5111000a202020202020000000fc0053 796e634d61737465720a2020000000ff 004831414b3530303030300a202000e9 ''; "${cfg.monitors.secondary.name}" = '' 00ffffffffffff00410cca1401010101 34100103804728788a288e9e55489724 16484badce0031594559615981800101 010101010101a91a00a0500016303020 3700c48e21000018662150b051001b30 40703600c48e21000018000000fc0050 68696c697073545620283529000000fd 002f551f500e000a2020202020200156 020323714f930414051f101211030201 16150706230907078301000066030c00 100080011d00bc52d01e20b8285540c4 8e2100001a011d007251d01e206e2855 00c48e2100001e011d80d0721c162010 2c2580c48e2100009e011d8018711c16 20582c2500c48e2100009ef33980d072 382d40102c4580c48e2100001e0000f2 ''; }; config = { "${cfg.monitors.primary.name}" = cfg.monitors.primary.config; "${cfg.monitors.secondary.name}" = cfg.monitors.secondary.config; }; }; }; # wayland.windowManager.hyprland.settings = { # monitor = [ # "DP-2,2560x1440@144,0x480,1" # "HDMI-A-2,1920x1080,2560x0,1,transform,3" # ]; # input.sensitivity = -0.4; # }; # Version of first install home.stateVersion = "23.05"; }