blob: fcd569475e6b2940c62580fba618b14e95d52a89 (
plain) (
blame)
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
{ pkgs, ... }:
let
inherit (import ./sysidentity.nix) sysidentity;
unstable = import <nixos-unstable> { config.allowUnfree = true; };
tex = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-medium
babel-bulgarian cyrillic cancel enumitem;
});
in {
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs;
let
cli-core = [
# Hardware managing apps
pipewire libinput lm_sensors lshw chrony iotop bluez
parted dosfstools mtpfs ntfs3g squashfsTools
# Network
wget git rsync inetutils vnstat
# Working with files
vim-full inotify-tools lsof
# General usage
zsh htop rlwrap bc ddrescue cron
];
cli-userspace = [
# Working with files
ffmpeg img2pdf pdftk imagemagick pngcrush jpegoptim optipng gd kid3 pandoc libisoburn
# Archive formats
p7zip dpkg cdrtools zip unzip rar unrar rpm
# Misc
neofetch exa moc lazygit aspell
];
openboxDE-userspace = [
terminator
# Settings and backup tools
feh xterm arandr pavucontrol blueberry piper
# Tray
libappindicator networkmanagerapplet pnmixer copyq flameshot barrier redshift
# File openers/players
audacious mpv libreoffice evince gnome.eog gnome.file-roller cinnamon.nemo-with-extensions gnome.seahorse
# File/image/audio editors
gimp inkscape texmaker tex krita ardour
# Web (app) clients
brave firefox bitwarden nextcloud-client thunderbird birdtray
# System
gnome.gnome-system-monitor udisks gnome.gnome-disk-utility baobab gnome.simple-scan peek gparted
obs-studio qbittorrent speedcrunch virt-manager libvirt qemu_kvm kvmtool qemu_full
];
openboxDE-core = [
# Essential libs
dbus cairo libnotify gtk3 yad gnome.zenity gnome.gvfs gmtp at-spi2-atk
# Main apps and their config apps
# window manager, compositor, taskbar, notifications, app menu, lockscreen, session manager
openbox lxappearance obconf picom tint2 dunst jgmenu i3lock-color lightdm lightdm-gtk-greeter
# General X11 tools
lxqt.lxqt-policykit xorg.xev xfontsel xorg.xmodmap xorg.xwininfo xorg.xprop clipnotify xdotool xautolock xcape xorg.setxkbmap xkbmon xorg.xhost xclip wmctrl
devilspie2 sxhkd
];
laptop = [
brightnessctl powertop upower libinput-gestures acpid tlp epkowa
(unstable.epsonscan2.override { withNonFreePlugins = true; })
];
juno = [
thinkfan xorg.xf86inputsynaptics
];
desktop = [
timeshift
];
dev = [
gnumake
# C/C++
clang glibc gcc gdb valgrind pugixml cmake libusb libusb-compat-0_1
# .NET
dotnet-sdk mono
# Python
python3Minimal
# Android
android-tools heimdall
# Networking
apacheHttpd wireshark gns3-gui gns3-server dynamips
# awk
gawk mawk nawk
# DB
mysql sqlitebrowser
# Functional
racket ghc sbcl
# Compilers
flex bison
lowdown wakatime cloc go php fontforge
];
in cli-core ++ cli-userspace ++ openboxDE-userspace ++ openboxDE-core ++ dev ++
(if sysidentity.type == "laptop" then laptop else desktop) ++
(if sysidentity.name == "juno" then juno else []);
fonts.fonts = with pkgs; [
# Note to self: DO NOT INSTALL ADOBE FONTS!
corefonts vistafonts liberation_ttf helvetica-neue-lt-std noto-fonts noto-fonts-emoji cm_unicode symbola
# CJK
noto-fonts-cjk arphic-ukai arphic-uming takao wqy_microhei wqy_zenhei
];
# List services that you want to enable:
programs = {
dconf.enable = true;
zsh.enable = true;
gnome-disks.enable = true;
firefox.enable = true;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
mtr.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
services = {
dbus.packages = with pkgs; [ gnome2.GConf ];
udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
};
}
|