dustbowl: Add rr, intel_gpu_top wrappers
This commit is contained in:
parent
3b88bd0645
commit
8557c95979
1 changed files with 17 additions and 13 deletions
|
|
@ -54,18 +54,11 @@
|
||||||
"v4l2loopback"
|
"v4l2loopback"
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.adb.enable = true;
|
|
||||||
|
|
||||||
# Set sysctl parameters
|
|
||||||
boot.kernel.sysctl = {
|
|
||||||
# Useful for rr
|
|
||||||
"kernel.perf_event_paranoid" = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Add qemu-binfmt for ARM and AArch64
|
# Add qemu-binfmt for ARM and AArch64
|
||||||
boot.binfmt.emulatedSystems = [
|
boot.binfmt.emulatedSystems = [
|
||||||
"armv7l-linux"
|
"armv7l-linux"
|
||||||
"aarch64-linux"
|
"aarch64-linux"
|
||||||
|
"riscv64-linux"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
@ -148,8 +141,8 @@
|
||||||
bind.dnsutils
|
bind.dnsutils
|
||||||
openrgb
|
openrgb
|
||||||
gdb
|
gdb
|
||||||
rr
|
|
||||||
intel-gpu-tools
|
intel-gpu-tools
|
||||||
|
config.boot.kernelPackages.perf
|
||||||
|
|
||||||
# GTK theme
|
# GTK theme
|
||||||
gnome.adwaita-icon-theme
|
gnome.adwaita-icon-theme
|
||||||
|
|
@ -171,6 +164,7 @@
|
||||||
zathura
|
zathura
|
||||||
imv
|
imv
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
xournalpp
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use doas instead of sudo
|
# Use doas instead of sudo
|
||||||
|
|
@ -186,6 +180,20 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.wrappers.rr = {
|
||||||
|
owner = "root";
|
||||||
|
group = "root";
|
||||||
|
capabilities = "cap_perfmon=ip";
|
||||||
|
source = "${pkgs.rr}/bin/rr";
|
||||||
|
};
|
||||||
|
|
||||||
|
security.wrappers.intel_gpu_top = {
|
||||||
|
owner = "root";
|
||||||
|
group = "root";
|
||||||
|
capabilities = "cap_perfmon=p";
|
||||||
|
source = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top";
|
||||||
|
};
|
||||||
|
|
||||||
# Enable gnupg
|
# Enable gnupg
|
||||||
programs.gnupg.agent.enable = true;
|
programs.gnupg.agent.enable = true;
|
||||||
|
|
||||||
|
|
@ -288,10 +296,6 @@
|
||||||
|
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
services.postgresql = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.joachim = {
|
users.users.joachim = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/joachim";
|
home = "/home/joachim";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue