NixOS/home/programs/variety.nix

15 lines
302 B
Nix
Raw Normal View History

2024-06-12 18:09:56 +07:00
{ config, lib, pkgs, ... }:
let
cfg = config.profile.variety;
in
{
config = lib.mkIf cfg.enable {
home.packages = [ pkgs.variety ];
home.file.".config/autostart.variety.desktop" = lib.mkIf cfg.autostart {
source = "${pkgs.variety}/share/applications/variety.desktop";
};
};
}