zaneyos/home.nix

53 lines
1.1 KiB
Nix
Raw Normal View History

2024-01-15 09:04:58 +01:00
{ config, pkgs, inputs, username,
gtkThemeFromScheme, ... }:
let
inherit (import ./options.nix)
gitUsername gitEmail theme browser
wallpaperDir wallpaperGit flakeDir
waybarStyle;
in {
2024-01-13 06:53:25 +01:00
# Home Manager Settings
2024-01-12 09:00:46 +01:00
home.username = "${username}";
2024-01-13 06:53:25 +01:00
home.homeDirectory = "/home/${username}";
2024-01-09 23:50:24 +01:00
home.stateVersion = "23.11";
# Set The Colorscheme
2024-01-15 20:00:56 +01:00
colorScheme = inputs.nix-colors.colorSchemes."${theme}";
# Import Program Configurations
imports = [
2024-01-14 08:54:57 +01:00
inputs.nix-colors.homeManagerModules.default
inputs.hyprland.homeManagerModules.default
2024-01-24 10:05:52 +01:00
./config/home
];
2024-01-13 06:53:25 +01:00
# Define Settings For Xresources
2024-01-09 23:50:24 +01:00
xresources.properties = {
"Xcursor.size" = 24;
};
2024-01-13 06:53:25 +01:00
# Install & Configure Git
2024-01-09 23:50:24 +01:00
programs.git = {
enable = true;
2024-01-13 06:53:25 +01:00
userName = "${gitUsername}";
userEmail = "${gitEmail}";
2024-01-09 23:50:24 +01:00
};
2024-01-13 06:53:25 +01:00
# Create XDG Dirs
2024-01-09 23:50:24 +01:00
xdg = {
userDirs = {
enable = true;
createDirectories = true;
};
};
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
2024-01-09 23:50:24 +01:00
programs.home-manager.enable = true;
}