Customize the secondary free space indicator
This commit is contained in:
parent
2781064e61
commit
176c0569b8
|
@ -6,6 +6,7 @@
|
|||
name = "DanixDesktop";
|
||||
eth = "eno1";
|
||||
wlan = null;
|
||||
secondary-fs = "/mnt/henning";
|
||||
};
|
||||
profiles.base.enable = true;
|
||||
profiles.xsession.enable = true;
|
||||
|
|
|
@ -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.
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue