{ config, pkgs, inputs, username, host, gtkThemeFromScheme, ... }: let inherit (import ./variables.nix) gitUsername gitEmail theme browser ; in { # Home Manager Settings home.username = "${username}"; home.homeDirectory = "/home/${username}"; home.stateVersion = "23.11"; # Set The Colorscheme colorScheme = inputs.nix-colors.colorSchemes."${theme}"; # Import Program Configurations imports = [ inputs.nix-colors.homeManagerModules.default inputs.hyprland.homeManagerModules.default ../../config/hyprland.nix ../../config/waybar.nix ]; # Define Settings For Xresources xresources.properties = { "Xcursor.size" = 24; }; # Place Files Inside Home Directory home.file.".config/wallpapers" = { source = ../../config/wallpapers; recursive = true; }; home.file.".local/share/fonts" = { source = ../../config/fonts; recursive = true; }; # Install & Configure Git programs.git = { enable = true; userName = "${gitUsername}"; userEmail = "${gitEmail}"; }; # Create XDG Dirs xdg = { userDirs = { enable = true; createDirectories = true; }; }; dconf.settings = { "org/virt-manager/virt-manager/connections" = { autoconnect = [ "qemu:///system" ]; uris = [ "qemu:///system" ]; }; }; programs = { bash = { enable = true; enableCompletion = true; profileExtra = '' #if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then # exec Hyprland #fi ''; initExtra = '' neofetch if [ -f $HOME/.bashrc-personal ]; then source $HOME/.bashrc-personal fi ''; sessionVariables = { ZANEYOS = true; }; shellAliases = { sv = "sudo nvim"; flake-rebuild = "nh os switch --hostname ${host} /home/${username}/zaneyos"; flake-update = "nh os switch --hostname ${host} --update"; gcCleanup = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot"; v = "nvim"; ls = "lsd"; ll = "lsd -l"; la = "lsd -a"; lal = "lsd -al"; ".." = "cd .."; }; }; home-manager.enable = true; hyprlock = { enable = true; settings = { general = { disable_loading_bar = true; grace = 300; hide_cursor = true; no_fade_in = false; }; background = [ { path = "/home/${username}/.config/wallpapers/zaney-wallpaper.jpg"; blur_passes = 3; blur_size = 8; } ]; input-field = [ { size = "200, 50"; position = "0, -80"; monitor = ""; dots_center = true; fade_on_empty = false; font_color = "rgb(202, 211, 245)"; inner_color = "rgb(91, 96, 120)"; outer_color = "rgb(24, 25, 38)"; outline_thickness = 5; placeholder_text = "Password..."; shadow_passes = 2; } ]; }; }; }; }