non-null cfg.package
This commit is contained in:
parent
2621d7ba87
commit
43fb71bcb0
|
@ -12,8 +12,8 @@ in {
|
|||
};
|
||||
|
||||
package = mkOption {
|
||||
type = types.nullOr types.package;
|
||||
default = null;
|
||||
type = types.package;
|
||||
default = pkgs.musicutil;
|
||||
};
|
||||
|
||||
settings = {
|
||||
|
@ -26,7 +26,7 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [cfg.package];
|
||||
home.packages = [ cfg.package ];
|
||||
|
||||
xdg.configFile."musicutil.yaml".source =
|
||||
yamlFormat.generate "musicutil-config" cfg.settings;
|
||||
|
|
Loading…
Reference in a new issue