about summary refs log tree commit diff
path: root/home/modules/profiles/misc/default.nix
blob: ba010fd875c708f53c2d6ccc67d50fbcffd3da4d (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 blender zoom-us inkscape obsidian ];
      nixpkgs.allowedUnfree = [ "spotify" "spotify-unwrapped" "zoom" "obsidian" ];
    };
  }