48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [./default.nix];
|
|
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".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";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|