-
Notifications
You must be signed in to change notification settings - Fork 0
/
dotfiles.nix
47 lines (41 loc) · 989 Bytes
/
dotfiles.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
{ pkgs, ... }:
let
# Define each config section as a separate variable
sshConfig = {
".ssh/keepassxc-prompt".source = ./bin/keepassxc-prompt;
".ssh/config".source = ./dotfiles/ssh/common;
};
emacsConfig = {
".emacs.d/config.org".source = ./dotfiles/emacs/config.org;
".emacs.d/init.el".source = ./dotfiles/emacs/init.el;
};
mediaConfig = {
".config/pipewire/media-session.d/bluez-monitor.conf".text = ''
properties = {
bluez5.msbc-support = true;
}
'';
};
# Session variables configuration
sessionVariables = {
PAGER = "bat -p";
MANPAGER = "bat -pl man";
EDITOR = ''emacsclient --create-frame --alternate-editor="" --no-wait'';
LC_TIME = "en_GB.utf8";
QT_QPA_PLATFORM = "wayland";
HISTCONTROL = "ignoreboth";
};
# Fonts configuration
fontsConfig = {
fontconfig.enable = true;
};
in
{
inherit
emacsConfig
mediaConfig
sshConfig
sessionVariables
fontsConfig
;
}