nixos/hosts/Vanguard/home.nix

34 lines
759 B
Nix

{
pkgs,
shellConfig,
...
}: let
username = "xenia";
homeDirectory = "/home/${username}";
in {
imports = [
shellConfig
../../home/git/personal.nix
../../home/ssh/personal.nix
../../home/tui
../../home/hyprland
];
home = {
inherit username homeDirectory;
stateVersion = "22.11";
};
programs = {
home-manager.enable = true;
neovim.package = pkgs.neovim-nightly;
};
xdg.configFile."hypr/display.conf".text = ''
monitor=DP-1,highrr,auto,1
monitor=DP-2,highrr,auto,1
monitor=HDMI-1,highres,auto,2
monitor=HDMI-2,highres,auto,2
'';
xdg.configFile."hypr/autostart.conf".text = ''
exec-once=gamescope -w 1920 -h 1080 -W 3840 -H 2160 -U -f --hdr-enabled -e -- steam -gamepadui
'';
}