about summary refs log tree commit diff
path: root/home/modules/profiles/misc/default.nix
blob: 0999080a0e9fb538e2757173d13b2654072937dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, lib, pkgs, ... }:
let cfg = config.profiles.misc;
in
{
  options.profiles.misc = {
    enable = lib.mkEnableOption
      "A profile that enables miscellaneous options and packages.";
  };

  config = lib.mkIf cfg.enable {
    home.packages = with pkgs; [ spotify zoom-us obsidian ];
    nixpkgs.allowedUnfree = [ "spotify" "spotify-unwrapped" "zoom" "obsidian" ];
  };
}