Customize the secondary free space indicator

This commit is contained in:
Daniel Olsen 2022-05-02 14:49:06 +02:00
parent 2781064e61
commit 176c0569b8
4 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,7 @@
name = "DanixDesktop";
eth = "eno1";
wlan = null;
secondary-fs = "/mnt/henning";
};
profiles.base.enable = true;
profiles.xsession.enable = true;

View File

@ -6,10 +6,14 @@ in {
options.machine = {
name = lib.mkOption {
type = "str";
type = lib.types.str;
};
eth = lib.mkOption {};
wlan = lib.mkOption {};
secondary-fs = lib.mkOption {
type = lib.types.str;
default = "$HOME";
};
};
options.profiles.base = {

Binary file not shown.

View File

@ -115,7 +115,7 @@ in
interval = 25;
mount-0 = "/";
mount-1 = "/mnt/henning";
mount-1 = config.machine.secondary-fs;
label-mounted = "%{F#0a81f5}%mountpoint%%{F-}: %free%";
label-unmounted = "%mountpoint% not mounted";