forked from kclejeune/system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
linux.nix
40 lines (39 loc) · 949 Bytes
/
linux.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
{ pkgs, lib, ... }:
# let
# inherit (pkgs) stdenv;
# inherit (lib) mkIf;
# in
{
home = lib.mkIf pkgs.stdenv.isLinux {
packages = [
pkgs.ethtool
pkgs.discord
pkgs.dconf
pkgs.iotop # io monitoring
pkgs.lm_sensors # for `sensors` command
pkgs.ltrace # library call monitoring
pkgs.strace # system call monitoring
pkgs.usbutils # lsusb
pkgs.unzip
pkgs.zip
pkgs.sysstat
];
# vscode = {
# enable = true;
# # extensions = [ pkgs.vscode-extensions.ms-vscode-remote ];
# package = pkgs.vscode.fhsWithPackages (
# ps: [
# ps.rustup
# ps.zlib
# ps.openssl.dev
# ps.pkg-config
# ]
# );
# };
};
programs.chromium = lib.mkIf pkgs.stdenv.isLinux {
enable = true;
package = pkgs.google-chrome;
commandLineArgs = [ "--enable-features=TouchpadOverscrollHistoryNavigation" ];
};
}