-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
77 lines (69 loc) · 1.9 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{ inputs, username, pkgs, ... }:
let
inherit (import ./options.nix)
gitUsername gitEmail theme useWallColors;
inherit (import ./config/home/files/autopalette/custom.nix) customPalette;
in {
#wayland.windowManager.hyprland.systemd.variables = ["--all"];
# Home Manager Settings
home.username = "${username}";
home.homeDirectory = "/home/${username}";
home.stateVersion = "23.11";
colorScheme = if useWallColors == false
then inputs.nix-colors.colorSchemes."${theme}"
else customPalette;
# Import Program Configurations
imports = [
inputs.ags.homeManagerModules.default
inputs.nix-colors.homeManagerModules.default
inputs.nixvim.homeManagerModules.nixvim
inputs.hyprland.homeManagerModules.default
inputs.spicetify-nix.homeManagerModules.default
./config/home
];
# Define Settings For Xresources
xresources.properties = {
"Xcursor.size" = 24;
};
programs.ags = {
enable = true;
configDir = ./config/home/files/ags;
extraPackages = with pkgs; [
bun
gtksourceview
webkitgtk_6_0
accountsservice
];
};
# Install & Configure Git
programs.git = {
enable = true;
userName = "${gitUsername}";
userEmail = "${gitEmail}";
};
# Create XDG Dirs
xdg = {
# mime.enable = true;
# mimeApps = {
# enable = true;
# defaultApplications = {
# "text/html" = "firefox.desktop";
# "x-scheme-handler/http" = "firefox.desktop";
# "x-scheme-handler/https" = "firefox.desktop";
# "x-scheme-handler/about" = "firefox.desktop";
# "x-scheme-handler/unknown" = "firefox.desktop";
# };
# };
userDirs = {
enable = true;
createDirectories = true;
};
};
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
programs.home-manager.enable = true;
}