-
Notifications
You must be signed in to change notification settings - Fork 0
/
desktop.nix
63 lines (57 loc) · 1.67 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
56
57
58
59
60
61
62
63
{ config, lib, pkgs, unstable, ... }:
{
imports = [
./base.nix
./emacs
./gpg
./haskell
./mail
./theme
./xsession
];
config = {
# To sync stuff with server
# TODO: https://github.com/NixOS/nixpkgs/issues/60012
services.nextcloud-client.enable = true;
# Automount removable devices
services.udiskie = {
enable = true;
tray = "never";
};
# Start mic effect preset on login
services.pulseeffects = {
enable = true;
package = pkgs.pulseeffects-legacy;
preset = "Rode";
};
# 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
gnome.eog # image viewer
gnome.evince # pdf viewer
# gnome.nautilus -> see README.md#Dependencies
pandoc # convert everything
keepassxc # secret stuff
spotify # unlimited music
unstable.signal-desktop # connect with rl
slack # comms
skypeforlinux # old-school comms
remarkable-mouse # drawing tablets ftw
restream # live stream remarkable
gh # github utility
];
};
}