-
Notifications
You must be signed in to change notification settings - Fork 0
/
desktop.nix
55 lines (50 loc) · 1.42 KB
/
desktop.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
{ config, lib, pkgs, ... }:
{
imports = [
./base.nix
./emacs
./gpg
./haskell
./mail
./theme
./xsession
./home-modules/passwords
];
config = {
# To sync stuff with server
services.nextcloud-client.enable = true;
# Automount removable devices
services.udiskie = {
enable = true;
tray = "never";
};
# Default applications for files
xdg.mimeApps.defaultApplications = {
"application/pdf" = "firefox.desktop";
};
# the browser
programs.firefox.enable = true;
programs.firefox.profiles.ch1bo.extraConfig = ''
// Allow file:// links
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://localhost:8080");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
'';
home.packages = with pkgs; [
docker-compose # docker projects
docker-credential-helpers # store docker login credentials in D-Bus secrets
brave # another browser
eog # image viewer
evince # pdf viewer
# nautilus -> see README.md#Dependencies
pandoc # convert everything
spotify # unlimited music
signal-desktop # connect with rl
slack # comms
skypeforlinux # old-school comms
remarkable-mouse # drawing tablets ftw
restream # live stream remarkable
gh # github utility
];
};
}