63 lines
1.8 KiB
Nix
63 lines
1.8 KiB
Nix
{...}: {
|
|
imports = [../work.nix ../desktop/hyprland.nix];
|
|
home.username = "elitherl";
|
|
home.homeDirectory = "/home/elitherl";
|
|
home.stateVersion = "22.11";
|
|
|
|
programs.fish.shellAbbrs.hypr = "exec Hyprland";
|
|
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
|
preload = /etc/nixos/config/wallpaper/images_dark/1920x1080.png
|
|
preload = /etc/nixos/config/wallpaper/images_dark/1920x1200.png
|
|
preload = /etc/nixos/config/wallpaper/images_dark/1080x1920.png
|
|
|
|
wallpaper = HDMI-A-1,/etc/nixos/config/wallpaper/images_dark/1920x1200.png
|
|
wallpaper = DP-1,/etc/nixos/config/wallpaper/images_dark/1080x1920.png
|
|
wallpaper = ,/etc/nixos/config/wallpaper/images_dark/1920x1080.png
|
|
'';
|
|
wayland.windowManager.hyprland.extraConfig = ''
|
|
source=./common.conf
|
|
monitor=HDMI-A-1,preferred,auto,auto
|
|
monitor=DP-1,preferred,auto,auto,transform,1
|
|
wsbind=1,HDMI-A-1
|
|
wsbind=2,HDMI-A-1
|
|
wsbind=3,HDMI-A-1
|
|
wsbind=4,HDMI-A-1
|
|
exec-once = firefox
|
|
exec-once = teams
|
|
'';
|
|
programs.waybar = {
|
|
settings = {
|
|
main = {
|
|
"include" = [
|
|
"~/.config/waybar/modules.json"
|
|
"~/.config/waybar/layout.json"
|
|
];
|
|
"output" = "HDMI-A-1";
|
|
"modules-left" = ["wlr/workspaces"];
|
|
"modules-center" = ["clock"];
|
|
"modules-right" = [
|
|
"cpu"
|
|
"memory"
|
|
"temperature"
|
|
"pulseaudio"
|
|
"network"
|
|
"backlight"
|
|
"battery"
|
|
"battery#bat2"
|
|
"tray"
|
|
];
|
|
};
|
|
alt = {
|
|
"include" = [
|
|
"~/.config/waybar/modules.json"
|
|
"~/.config/waybar/layout.json"
|
|
];
|
|
"output" = "DP-1";
|
|
"modules-left" = [];
|
|
"modules-center" = ["wlr/workspaces"];
|
|
"modules-right" = [];
|
|
};
|
|
};
|
|
};
|
|
}
|