-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.nix
More file actions
85 lines (73 loc) · 1.9 KB
/
home.nix
File metadata and controls
85 lines (73 loc) · 1.9 KB
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
78
79
80
81
82
83
84
85
# Help is available in home-manager.nix(5)
{ config, pkgs, ... }:
{
home.stateVersion = "25.05";
programs.home-manager.enable = true;
home.username = "bren";
home.homeDirectory = "/home/bren";
programs.git = {
enable = true;
lfs.enable = true;
userName = "Bren Paul";
userEmail = "brenpaul@machindustries.com";
};
gtk = with pkgs; {
enable = true;
theme.name = "adw-gtk3-dark";
iconTheme = {
package = papirus-icon-theme;
name = "Papirus-Dark";
};
cursorTheme = {
package = google-cursor;
name = "GoogleDot-Blue";
size = 20;
};
};
xdg.userDirs = {
enable = true;
createDirectories = true;
music = "${config.home.homeDirectory}/audio";
videos = "${config.home.homeDirectory}/media";
pictures = "${config.home.homeDirectory}/img";
download = "${config.home.homeDirectory}/dl";
documents = "${config.home.homeDirectory}/docs";
templates = null; desktop = null; publicShare = null;
};
dconf.settings = {
"org/gnome/desktop/wm/preferences" = {
button-layout = "";
};
"org/gnome/nautilus/icon-view" = {
captions = [ "size" ];
default-zoom-level = "small-plus";
};
"org/gnome/nautilus/preferences" = {
show-create-link = true;
};
"org/gtk/gtk4/settings/file-chooser" = {
show-hidden = true;
};
};
home.file.".config/gtk-3.0/bookmarks".text = ''
file:///home/bren/dl Downloads
file:///home/bren/dots Dotfiles
'';
programs.neovim = {
enable = true;
defaultEditor = true;
plugins = with pkgs.vimPlugins; [
lazy-nvim
];
};
xdg.mimeApps.defaultApplications = {
"text/*" = [ "cursor.desktop" ];
"image/*" = [ "loupe.desktop" ];
"audio/*" = [ "decibels.desktop" ];
"video/*" = [ "mpv.desktop" ];
"application/pdf" = [ "evince.desktop" ];
};
programs.zsh = {
enable = true;
};
}