2023-05-17 17:10:18 +01:00
|
|
|
{...}: {
|
2023-05-24 08:44:46 +01:00
|
|
|
imports = [../work.nix ../desktop/hyprland.nix];
|
2023-05-16 09:13:59 +01:00
|
|
|
home.username = "elitherl";
|
|
|
|
home.homeDirectory = "/home/elitherl";
|
|
|
|
home.stateVersion = "22.11";
|
2023-05-24 08:44:46 +01:00
|
|
|
|
2023-05-31 09:46:34 +01:00
|
|
|
programs.fish.shellAbbrs.hypr = "exec Hyprland";
|
2023-05-24 08:44:46 +01:00
|
|
|
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";
|
2023-05-31 09:46:34 +01:00
|
|
|
"modules-left" = ["wlr/workspaces"];
|
|
|
|
"modules-center" = ["clock"];
|
|
|
|
"modules-right" = [
|
|
|
|
"cpu"
|
|
|
|
"memory"
|
|
|
|
"temperature"
|
|
|
|
"pulseaudio"
|
|
|
|
"network"
|
|
|
|
"backlight"
|
|
|
|
"battery"
|
|
|
|
"battery#bat2"
|
|
|
|
"tray"
|
|
|
|
];
|
2023-05-24 08:44:46 +01:00
|
|
|
};
|
|
|
|
alt = {
|
2023-06-01 13:59:16 +01:00
|
|
|
"include" = [
|
|
|
|
"~/.config/waybar/modules.json"
|
|
|
|
"~/.config/waybar/layout.json"
|
|
|
|
];
|
2023-05-24 08:44:46 +01:00
|
|
|
"output" = "DP-1";
|
2023-06-01 16:14:43 +01:00
|
|
|
"modules-left" = [];
|
|
|
|
"modules-center" = ["wlr/workspaces"];
|
2023-05-31 09:46:34 +01:00
|
|
|
"modules-right" = [];
|
2023-05-24 08:44:46 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-05-16 09:13:59 +01:00
|
|
|
}
|