-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
98 lines (87 loc) · 2.33 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{ config, pkgs, ... }:
{
# User
home.username = "christo";
home.homeDirectory = "/home/christo";
# Let home Manager install and manage itself.
programs.home-manager.enable = true;
# Import nix configs
imports = [
./modules/sway.nix
./modules/zsh.nix
./modules/librewolf.nix
./modules/waybar.nix
./modules/mako.nix
./modules/mpd.nix
./modules/foot.nix
./modules/vscode.nix
./modules/stylix/stylix-home.nix
./modules/theme.nix
];
# Environment Variables
home.sessionVariables = {
EDITOR = "nano";
XDG_CURRENT_DESKTOP = "sway";
GTK_USE_PORTAL = 0;
TERMINAL = "foot";
BROWSER = "librewolf";
};
# XDG Portals
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
];
config = {
common = {
default = [ "gtk" ];
};
sway = {
default = [ "gtk" ];
"org.freedesktop.impl.portal.Screencast" = [ "wlr" ];
"org.freedesktop.impl.portal.Screenshot" = [ "wlr" ];
};
};
};
# basic configuration of git, please change to your own
programs.git = {
enable = true;
userName = "Christo Paul";
userEmail = "[email protected]";
};
fonts.fontconfig.enable = true;
# Packages that should be installed to the user profile.
home.packages = with pkgs; [
neofetch
(nerdfonts.override { fonts = [ "FiraCode" "Mononoki" ]; })
noto-fonts
noto-fonts-color-emoji
mpv
python3
obs-studio
libreoffice-fresh
telegram-desktop
libsForQt5.kdenlive
qbittorrent
];
# XDG
xdg.enable = true;
xdg.userDirs = {
enable = true;
createDirectories = true;
music = "${config.home.homeDirectory}/Music";
videos = "${config.home.homeDirectory}/Videos";
pictures = "${config.home.homeDirectory}/Pictures";
templates = "${config.home.homeDirectory}/Templates";
download = "${config.home.homeDirectory}/Downloads";
documents = "${config.home.homeDirectory}/Documents";
desktop = null;
publicShare = null;
extraConfig = {
XDG_ARCHIVES_DIR = "${config.home.homeDirectory}/Archives";
XDG_DOTFILES_DIR = "${config.home.homeDirectory}/.dotfiles";
};
};
home.stateVersion = "23.11";
}