nixos/hosts/Ronin/home.nix

47 lines
1.1 KiB
Nix
Raw Normal View History

2024-04-19 14:21:00 +01:00
{
config,
lib,
pkgs,
...
}: {
home.packages = [(pkgs.writeShellScriptBin "ukaea-vpn-connect" "sudo ${pkgs.openfortivpn}/bin/openfortivpn -c ${./ukaea-vpn.conf}")];
2024-04-19 14:21:00 +01:00
programs.git.userEmail = config.accounts.email.accounts.outlook.address;
accounts.email.accounts = {
proton.primary = lib.mkForce false;
outlook.primary = lib.mkForce true;
};
2024-04-15 08:02:57 +01:00
wayland.windowManager.sway.config.output = {
2024-04-19 14:21:00 +01:00
"eDP-1".scale = "1.25";
"Dell Inc. DELL P3223QE CCG8YN3".scale = "1.5";
2024-04-15 08:02:57 +01:00
};
2024-04-19 14:21:00 +01:00
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";
}
];
};
};
};
}