mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 14:43:08 +01:00
54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{ config, pkgs, inputs, username,
|
|
gtkThemeFromScheme, ... }:
|
|
let
|
|
inherit (import ./options.nix)
|
|
gitUsername gitEmail theme browser
|
|
wallpaperDir wallpaperGit flakeDir
|
|
waybarStyle;
|
|
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.nixvim.homeManagerModules.nixvim
|
|
inputs.hyprland.homeManagerModules.default
|
|
./config/home
|
|
];
|
|
|
|
# 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;
|
|
}
|