2024-01-15 09:04:58 +01:00
|
|
|
{ config, pkgs, inputs, username,
|
2024-04-04 02:01:52 +02:00
|
|
|
host, gtkThemeFromScheme, ... }:
|
2024-02-06 04:46:24 +01:00
|
|
|
let
|
2024-04-04 02:01:52 +02:00
|
|
|
inherit (import ./hosts/${host}/options.nix)
|
2024-02-06 04:46:24 +01:00
|
|
|
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";
|
|
|
|
|
2024-01-14 08:27:50 +01:00
|
|
|
# Set The Colorscheme
|
2024-01-15 20:00:56 +01:00
|
|
|
colorScheme = inputs.nix-colors.colorSchemes."${theme}";
|
2024-01-14 08:27:50 +01:00
|
|
|
|
2024-01-17 07:50:43 +01:00
|
|
|
# Import Program Configurations
|
2024-01-14 08:27:50 +01:00
|
|
|
imports = [
|
2024-01-14 08:54:57 +01:00
|
|
|
inputs.nix-colors.homeManagerModules.default
|
2024-02-20 10:07:22 +01:00
|
|
|
inputs.nixvim.homeManagerModules.nixvim
|
2024-01-23 21:16:57 +01:00
|
|
|
inputs.hyprland.homeManagerModules.default
|
2024-01-24 10:05:52 +01:00
|
|
|
./config/home
|
2024-01-14 08:27:50 +01:00
|
|
|
];
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-01-24 00:13:37 +01:00
|
|
|
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;
|
|
|
|
}
|