diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index d5bfa6d1..ab3f5eb8 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -1,14 +1,46 @@ -{pkgs, ...}: { - imports = [../Scorch/home.nix]; +{ + config, + lib, + pkgs, + ... +}: { home.packages = [(pkgs.writeShellScriptBin "ukaea-vpn-connect" "sudo ${pkgs.openfortivpn}/bin/openfortivpn -c ${./ukaea-vpn.conf}")]; + programs.git.userEmail = config.accounts.email.accounts.outlook.address; + accounts.email.accounts = { + proton.primary = lib.mkForce false; + outlook.primary = lib.mkForce true; + }; wayland.windowManager.sway.config.output = { - "eDP-1" = { - pos = "2560 720"; - scale = "1.25"; + "eDP-1".scale = "1.25"; + "Dell Inc. DELL P3223QE CCG8YN3".scale = "1.5"; + }; + xresources.properties."Xft.dpi" = toString (builtins.mul 96 1.5); + services.kanshi = { + enable = true; + systemdTarget = "sway-session.target"; + profiles = { + undocked = { + outputs = [ + { + criteria = "eDP-1"; + status = "enable"; + scale = 1.25; + } + ]; + }; + docked = { + outputs = [ + { + criteria = "Dell Inc. DELL P3223QE CCG8YN3"; + status = "enable"; + scale = 1.5; + } + { + criteria = "eDP-1"; + status = "disable"; + } + ]; + }; }; }; - wayland.windowManager.hyprland.settings = { - workspace = ["1, monitor:eDP-1, default:true"]; - monitor = ["eDP-1,1920x1080,2560x720,1.50"]; - }; }