diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-27 22:52:12 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-27 23:14:08 +0900 |
| commit | e42ea32dbe9283d14a7c0e8746059bc5ef97f6cd (patch) | |
| tree | 9ddc8d4bb6438d00a8e04b1cdf07df5e3570f7eb /cmd/sharefs/test/configuration.nix | |
| parent | e7982b4ee9cc935d6b89f291087524cdee229d09 (diff) | |
nix: configure sharefs via fileSystems
Turns out this did not work because in the vm test harness, virtualisation.fileSystems completely and silently overrides fileSystems, causing its contents to not even be evaluated anymore. This is not documented as far as I can tell, and is not obvious by any stretch of the imagination. The current hack is cargo culted from nix-community/impermanence and hopefully lasts until this project fully replaces nix.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/sharefs/test/configuration.nix')
| -rw-r--r-- | cmd/sharefs/test/configuration.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/sharefs/test/configuration.nix b/cmd/sharefs/test/configuration.nix index 388071b6..e1f43b72 100644 --- a/cmd/sharefs/test/configuration.nix +++ b/cmd/sharefs/test/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ pkgs, ... }: { users.users = { alice = { @@ -17,9 +17,6 @@ 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 = { |
