mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 03:49:44 +00:00
feat(y2q): add glances
- Add glances runit service
This commit is contained in:
parent
179c67f058
commit
b4bbf014a8
3 changed files with 61 additions and 0 deletions
10
home/modules/runit/services/glances.nix
Normal file
10
home/modules/runit/services/glances.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
runit.services.glances = {
|
||||
script = ''
|
||||
#!/bin/bash
|
||||
${pkgs.glances}/bin/glances -w
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue