-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
89 lines (75 loc) · 2.2 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
{ config, pkgs, ... }:
let
secrets = import ./secrets.nix;
in {
imports = [
./sway.nix
./mako.nix
./waybar.nix
./kitty.nix
./rofi.nix
./vscode.nix
];
home.stateVersion = "21.03";
home.sessionVariables = {
# Fix antialasing ?
FREETYPE_PROPERTIES = "truetype:interpreter-version=35";
MOZ_ENABLE_WAYLAND = "1";
_JAVA_AWT_WM_NONREPARENTING = "1";
XDG_CURRENT_DESKTOP =
"sway"; # https://github.com/emersion/xdg-desktop-portal-wlr/issues/20
XDG_SESSION_TYPE =
"wayland"; # https://github.com/emersion/xdg-desktop-portal-wlr/pull/11
};
fonts.fontconfig.enable = true;
home.packages = [
(pkgs.nerdfonts.override { fonts = [ "RobotoMono" ]; })
];
gtk = {
enable = true;
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
theme = {
name = "Pop-dark";
package = pkgs.pop-gtk-theme;
};
};
services.kdeconnect.enable = false;
services.nextcloud-client.enable = false;
# services.gnome-keyring = {
# enable = true;
# };
programs.firefox = {
enable = true;
# Until https://github.com/nix-community/home-manager/issues/1641 is fixed
package = pkgs.firefox-wayland;
nativeMessagingHosts = [
pkgs.keepassxc
# pkgs.keepassxc-proxy
];
profiles.default = {
path = "1utyytkx.default";
};
};
programs.obs-studio = {
enable = true;
plugins = with pkgs; [ obs-studio-plugins.wlrobs ];
# plugins = with pkgs; [ obs-studio-plugins.wlrobs (callPackage /home/raphael/Downloads/nixpkgs/pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix { inherit (qt5) qtbase; }) ];
# plugins = with pkgs; [ obs-studio-plugins.wlrobs obs-studio-plugins.obs-hyperion ];
};
services.gammastep = {
enable = true;
# Berlin coordinates
latitude = "52.5200";
longitude = "13.405";
temperature = { night = 3000; };
};
}