nixos/machines/N0245/elitherl.nix

84 lines
2 KiB
Nix

{pkgs, ...}: {
imports = [
../../home/work.nix
../../home/gui
../../home/desktop/hyprland.nix
];
home.username = "elitherl";
home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11";
home.packages = with pkgs; [
zotero
openfortivpn
nomachine-client
teams-for-linux
zoom-us
];
programs.firefox.package = pkgs.firefox-wayland;
wayland.windowManager.hyprland.extraConfig = ''
source=./common.conf
monitor=eDP-1,preferred,auto,auto
monitor=DP-3,preferred,auto,auto
monitor=DP-4,preferred,auto,auto,transform,1
windowrule = float, title:^([Zz]oom).*$
windowrule = center, title:^([Zz]oom).*$
windowrule = float, ^(Nxplayer.bin)$
windowrule = center, ^(Nxplayer.bin)$
windowrule = workspace 3, title:^([Zz]oom).*$
windowrule = workspace 4, ^(Nxplayer.bin)$
'';
programs.waybar.settings = {
main = {
"output" = "DP-3";
"modules-left" = [
"wlr/workspaces"
"cpu"
"memory"
"temperature"
];
"modules-center" = ["clock"];
"modules-right" = [
"pulseaudio"
"bluetooth"
"network#compact"
"backlight"
"battery"
"tray"
];
};
alt-integrated = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"output" = "eDP-1";
"modules-left" = [
"wlr/workspaces"
"cpu"
"memory"
"temperature"
];
"modules-center" = ["clock#compact"];
"modules-right" = [
"pulseaudio#compact"
"bluetooth"
"network#compact"
"backlight"
"battery"
"tray"
];
};
alt-vertical = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"output" = "DP-4";
"modules-left" = ["wlr/workspaces"];
"modules-center" = ["clock#compact"];
"modules-right" = ["tray"];
};
};
}