nixos/home/Vanguard/xenia.nix
Evie Litherland-Smith 5a18c254ac Move home-manager config into separate directories
Add platform specific hyprland/hyprpaper/waybar config into platform
specific home-manager files, better integration with nix and no
conflicing links
2023-05-16 09:13:59 +01:00

49 lines
1.2 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 ];
xdg.configFile."hypr/hyprpaper.conf".source = ../desktop/config/hypr/hyprpaper-Vanguard.conf;
wayland.windowManager.hyprland.extraConfig = ''
source=./common.conf
misc {
vrr = 2
}
monitor=DP-1,highrr,auto,1
monitor=HDMI-A-1,highres,auto,2
exec-once = waybar -c
exec-once=hyprpaper -c ~/.config/hypr/hyprpaper-Vanguard.conf
'';
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"
];
};
};
};
}