Evie Litherland-Smith
55e72cb9cc
Doom emacs config is still separate repo, but flake contents are back Remove work firefox profile, switched to chromium instead for Teams fix
62 lines
1.6 KiB
Nix
62 lines
1.6 KiB
Nix
{ pkgs, shellConfig, ... }:
|
|
let
|
|
username = "elitherl";
|
|
homeDirectory = "/home/${username}";
|
|
monitors = {
|
|
eDP-1 = "preferred,auto,1.5";
|
|
Iiyama = "preferred,0x185,1";
|
|
Dell = "preferred,1920x0,1,transform,1";
|
|
};
|
|
in {
|
|
imports = [
|
|
shellConfig
|
|
../../home/git/work.nix
|
|
../../home/ssh/work.nix
|
|
../../home/tui
|
|
../../home/hyprland
|
|
../../home/emacs
|
|
../../home/wezterm
|
|
];
|
|
home = {
|
|
inherit username homeDirectory;
|
|
stateVersion = "22.11";
|
|
packages = with pkgs; [ openfortivpn nomachine-client ];
|
|
};
|
|
programs.home-manager.enable = true;
|
|
programs.chromium.enable = true;
|
|
services.kanshi = {
|
|
enable = true;
|
|
systemdTarget = "hyprland-session.target";
|
|
profiles = {
|
|
undocked.outputs = [{
|
|
criteria = "eDP-1";
|
|
status = "enable";
|
|
}];
|
|
docked.outputs = [
|
|
{
|
|
criteria = "eDP-1";
|
|
status = "disable";
|
|
}
|
|
{
|
|
criteria = "Iiyama North America PLB2403WS 0574281251316";
|
|
status = "enable";
|
|
}
|
|
{
|
|
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
|
|
status = "enable";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
xdg.configFile."hypr/display.conf".text = ''
|
|
monitor=eDP-1,${monitors.eDP-1}
|
|
monitor=desc:Iiyama North America PLB2403WS 0574281251316,${monitors.Iiyama}
|
|
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,${monitors.Dell}
|
|
|
|
bindl=,switch:Lid Switch,exec,rfkill unblock wlan
|
|
# bindl=,switch:Lid Switch,exec,hyprctl reload
|
|
bindl=,switch:Lid Switch,exec,pkill -9 kanshi
|
|
bindl=,switch:Lid Switch,exec,pkill -9 hyprpaper && hyprctl dispatch exec hyprpaper
|
|
'';
|
|
}
|