1 { config, lib, pkgs, ... }:
4 cfg = config.services.stratis;
7 options.services.stratis = {
8 enable = lib.mkEnableOption "Stratis Storage - Easy to use local storage management for Linux";
11 config = lib.mkIf cfg.enable {
12 environment.systemPackages = [ pkgs.stratis-cli ];
13 systemd.packages = [ pkgs.stratisd ];
14 services.dbus.packages = [ pkgs.stratisd ];
15 services.udev.packages = [ pkgs.stratisd ];
16 systemd.services.stratisd.wantedBy = [ "sysinit.target" ];