2023-07-19 08:55:53 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
shellConfig,
|
|
|
|
...
|
|
|
|
}: let
|
2023-07-16 17:35:36 +01:00
|
|
|
username = "elitherl";
|
|
|
|
homeDirectory = "/home/${username}";
|
|
|
|
in {
|
2023-07-12 16:43:18 +01:00
|
|
|
imports = [
|
2023-07-19 08:55:53 +01:00
|
|
|
shellConfig
|
2023-07-16 17:35:36 +01:00
|
|
|
../../home/git/work.nix
|
|
|
|
../../home/ssh/work.nix
|
2023-07-16 17:48:23 +01:00
|
|
|
../../home/tui
|
|
|
|
../../home/hyprland
|
2023-07-16 17:35:36 +01:00
|
|
|
../../home/firefox/work.nix
|
|
|
|
../../home/wezterm
|
2023-07-12 16:43:18 +01:00
|
|
|
];
|
|
|
|
home = {
|
2023-07-16 17:35:36 +01:00
|
|
|
inherit username homeDirectory;
|
2023-07-12 16:43:18 +01:00
|
|
|
stateVersion = "22.11";
|
2023-07-16 17:35:36 +01:00
|
|
|
packages = with pkgs; [
|
2023-07-18 16:24:27 +01:00
|
|
|
thunderbird
|
2023-07-16 17:35:36 +01:00
|
|
|
openfortivpn
|
|
|
|
nomachine-client
|
|
|
|
teams-for-linux
|
|
|
|
zoom-us
|
|
|
|
];
|
2023-07-12 16:43:18 +01:00
|
|
|
};
|
2023-07-16 18:45:41 +01:00
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
neovim.package = pkgs.neovim-nightly;
|
|
|
|
};
|
2023-07-17 14:02:33 +01:00
|
|
|
services.kanshi = {
|
|
|
|
enable = true;
|
|
|
|
systemdTarget = "hyprland-session.target";
|
|
|
|
profiles = let
|
|
|
|
restart_hyprpaper = "pkill hyprpaper; ${pkgs.hyprland}/bin/hyprctl dispatch exec hyprpaper";
|
|
|
|
in {
|
|
|
|
undocked = {
|
|
|
|
outputs = [
|
|
|
|
{
|
2023-07-18 16:24:27 +01:00
|
|
|
criteria = "eDP-1";
|
2023-07-17 14:02:33 +01:00
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
exec = [restart_hyprpaper];
|
|
|
|
};
|
|
|
|
docked = {
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "Iiyama North America PLB2403WS 0574281251316";
|
2023-07-18 16:24:27 +01:00
|
|
|
status = "enable";
|
2023-07-17 14:02:33 +01:00
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
|
2023-07-18 16:24:27 +01:00
|
|
|
status = "enable";
|
2023-07-17 14:02:33 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
exec = [restart_hyprpaper];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-07-12 16:43:18 +01:00
|
|
|
xdg.configFile."hypr/display.conf".text = ''
|
2023-07-18 16:24:27 +01:00
|
|
|
monitor=eDP-1,preferred,auto,1.5
|
|
|
|
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,0x185,1
|
|
|
|
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,1920x0,1,transform,1
|
2023-07-12 16:43:18 +01:00
|
|
|
'';
|
|
|
|
}
|