diff options
Diffstat (limited to 'cmd/sharefs/test/configuration.nix')
| -rw-r--r-- | cmd/sharefs/test/configuration.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/cmd/sharefs/test/configuration.nix b/cmd/sharefs/test/configuration.nix index d9c011bc..388071b6 100644 --- a/cmd/sharefs/test/configuration.nix +++ b/cmd/sharefs/test/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { users.users = { alice = { @@ -14,8 +14,13 @@ # Automatically login on tty1 as a normal user: services.getty.autologinUser = "alice"; - # For benchmarking sharefs: - environment.systemPackages = [ pkgs.fsmark ]; + environment = { + # For benchmarking sharefs: + systemPackages = [ pkgs.fsmark ]; + + # For sharefs option checks without adding to PATH: + etc.sharefs.source = "${config.environment.hakurei.package}/libexec/sharefs"; + }; virtualisation = { diskSize = 6 * 1024; |
