17 lines
261 B
Nix
17 lines
261 B
Nix
{
|
|
username ? throw "username argument is required",
|
|
}:
|
|
{ pkgs, ... }:
|
|
{
|
|
home-manager.users.${username} = {
|
|
home.packages = with pkgs; [ ncdu ];
|
|
|
|
xdg.configFile."ncdu/config".text = ''
|
|
-1
|
|
-e
|
|
-t 0
|
|
--confirm-quit
|
|
'';
|
|
};
|
|
}
|