Allow btop to see GPU without as root
This commit is contained in:
parent
9a607d2da9
commit
df7ad70cf7
1 changed files with 8 additions and 0 deletions
|
|
@ -55,6 +55,14 @@
|
|||
];
|
||||
};
|
||||
|
||||
security.wrappers.btop = {
|
||||
enable = true;
|
||||
owner = "root";
|
||||
group = "root";
|
||||
source = "${pkgs.btop}/bin/btop";
|
||||
capabilities = "cap_perfmon=ep";
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Tallinn";
|
||||
|
||||
networking = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue