nixos/home/Vanguard/xenia.nix

49 lines
1.1 KiB
Nix

{pkgs, ...}: {
imports = [../personal.nix ../desktop/hyprland.nix];
home.username = "xenia";
home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11";
home.packages = with pkgs; [
prismlauncher
nomachine-client
];
xdg.configFile."hypr/hyprpaper.conf".text = ''
preload = /etc/nixos/config/wallpaper/images_dark/1920x1080.png
wallpaper = ,/etc/nixos/config/wallpaper/images_dark/1920x1080.png
'';
wayland.windowManager.hyprland.extraConfig = ''
source=./common.conf
misc {
vrr = 2
}
monitor=DP-2,highrr,auto,1
'';
programs.waybar = {
style = ''
@import 'common.css';
'';
settings = {
main = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"modules-left" = ["custom/launcher" "cpu" "memory" "temperature"];
"modules-center" = ["wlr/workspaces"];
"modules-right" = [
"pulseaudio"
"bluetooth"
"network"
"backlight"
"battery"
"battery#bat2"
"clock"
"tray"
"custom/power"
];
};
};
};
}