about summary refs log tree commit diff
path: root/home/modules/profiles/misc/default.nix
blob: 4881bd3c055ca7e9e6524e958cfa2be119126900 (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" ];
    };
  }