-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
59 lines (52 loc) · 1.31 KB
/
home.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{ 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}";
extraConfig = {
pull.rebase = "true";
push.autoSetupRemote = "true";
commit.gpgsign = "true";
init.defaultBranch = "main";
};
};
# 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;
}