nixos/hosts/Ronin/home.nix
Evie Litherland-Smith 0788da99d8 Add kanshi config for laptop
Add workspace rule back for teams client
2023-07-17 14:02:33 +01:00

66 lines
1.6 KiB
Nix

{pkgs, ...}: let
username = "elitherl";
homeDirectory = "/home/${username}";
in {
imports = [
../../home/shell/fish.nix
../../home/git/work.nix
../../home/ssh/work.nix
../../home/tui
../../home/hyprland
../../home/firefox/work.nix
../../home/wezterm
];
home = {
inherit username homeDirectory;
stateVersion = "22.11";
packages = with pkgs; [
openfortivpn
nomachine-client
teams-for-linux
zoom-us
];
};
programs = {
home-manager.enable = true;
neovim.package = pkgs.neovim-nightly;
};
services.kanshi = {
enable = true;
systemdTarget = "hyprland-session.target";
profiles = let
restart_hyprpaper = "pkill hyprpaper; ${pkgs.hyprland}/bin/hyprctl dispatch exec hyprpaper";
in {
undocked = {
outputs = [
{
criteria = "*";
status = "enable";
}
];
exec = [restart_hyprpaper];
};
docked = {
outputs = [
{
criteria = "eDP-1";
status = "disable";
}
{
criteria = "Iiyama North America PLB2403WS 0574281251316";
}
{
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
}
];
exec = [restart_hyprpaper];
};
};
};
xdg.configFile."hypr/display.conf".text = ''
monitor=eDP-1,1920x1080@60,auto,1.25
monitor=desc:Iiyama North America PLB2403WS 0574281251316,1920x1200@60,0x185,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,1920x1080@60,1920x0,1,transform,1
'';
}