A bunch of work on finger
This commit is contained in:
@@ -16,6 +16,13 @@ in {
|
||||
default = true;
|
||||
};
|
||||
|
||||
# TODO: allow configuring socket config
|
||||
};
|
||||
fingerd = {
|
||||
enable = lib.mkEnableOption "the fingerd service" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
# TODO: allow configuring socket config
|
||||
};
|
||||
};
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ rustPlatform.buildRustPackage {
|
||||
installShellCompletion "--${shell}" --cmd "${command}" "$TMP/${command}.${shell}"
|
||||
'') {
|
||||
shell = [ "bash" "zsh" "fish" ];
|
||||
command = [ "rwho" "ruptime" ];
|
||||
command = [ "rwho" "ruptime" "finger" ];
|
||||
};
|
||||
in lib.concatStringsSep "\n" installShellCompletions;
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ nixpkgs.lib.nixosSystem {
|
||||
Try running any of:
|
||||
rwho
|
||||
ruptime
|
||||
finger "alice"
|
||||
|
||||
To log into other containers, use:
|
||||
machinectl shell c1
|
||||
|
||||
Reference in New Issue
Block a user