···2222 alt-tab-macos # alt tab like windows on macos
2323 ];
24242525+ # Add environment variables to the system
2626+ environment.variables = {
2727+ EDITOR = "zeditor";
2828+ };
2929+2530 programs._1password.enable = true; # Password manager
26312732 # Complete suite for a specific purpose reused by multiple machines/users
+11-20
modules/common/suites/base.nix
···88 };
991010 # collection of opiniated package to use as a base
1111- config = lib.mkIf cfg.enable ({
1212- # ┌───────────────────────────────┐
1313- # │ Global |
1414- # └───────────────────────────────┘
1111+ config = lib.mkIf cfg.enable {
1512 environment.systemPackages = with pkgs; [
1616- librewolf # web browser
1717- obsidian # markdown note taking app
1818- spotify # music library
1919- ]
2020- # ┌───────────────────────────────┐
2121- # │ Linux Only |
2222- # └───────────────────────────────┘
2323- ++ lib.optionals (pkgs.stdenv.isLinux) [
2424- discord # chat app | not use this one for darwin because it's not containing Krisp
2525- ghostty # terminal emulator | marked as broken for darwin
1313+ librewolf
1414+ obsidian
1515+ spotify
1616+ ] ++ lib.optionals pkgs.stdenv.isLinux [
1717+ discord
1818+ ghostty
2619 ];
2727- # ┌───────────────────────────────┐
2828- # │ Darwin Only |
2929- # └───────────────────────────────┘
3030- } // lib.mkIf pkgs.stdenv.isDarwin {
3131- homebrew.casks = [
2020+2121+ # Only define homebrew.casks if on Darwin
2222+ homebrew.casks = lib.mkIf pkgs.stdenv.isDarwin [
3223 "discord"
3324 "ghostty"
3425 ];
3535- });
2626+ };
3627}