zaneyos/hosts/familypc/home.nix
2024-05-14 01:44:34 -05:00

64 lines
1.1 KiB
Nix

{
config,
pkgs,
inputs,
username,
host,
gtkThemeFromScheme,
...
}:
let
inherit (import ./variables.nix)
gitUsername
gitEmail
theme
browser
wallpaperDir
flakeDir
;
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
];
# Define Settings For Xresources
xresources.properties = {
"Xcursor.size" = 24;
};
# 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.home-manager.enable = true;
}