Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: base packages suite not working properly

cosmeak 8a25383c ef5780b4

+16 -20
+5
machines/darwin/njord/default.nix
··· 22 22 alt-tab-macos # alt tab like windows on macos 23 23 ]; 24 24 25 + # Add environment variables to the system 26 + environment.variables = { 27 + EDITOR = "zeditor"; 28 + }; 29 + 25 30 programs._1password.enable = true; # Password manager 26 31 27 32 # Complete suite for a specific purpose reused by multiple machines/users
+11 -20
modules/common/suites/base.nix
··· 8 8 }; 9 9 10 10 # collection of opiniated package to use as a base 11 - config = lib.mkIf cfg.enable ({ 12 - # ┌───────────────────────────────┐ 13 - # │ Global | 14 - # └───────────────────────────────┘ 11 + config = lib.mkIf cfg.enable { 15 12 environment.systemPackages = with pkgs; [ 16 - librewolf # web browser 17 - obsidian # markdown note taking app 18 - spotify # music library 19 - ] 20 - # ┌───────────────────────────────┐ 21 - # │ Linux Only | 22 - # └───────────────────────────────┘ 23 - ++ lib.optionals (pkgs.stdenv.isLinux) [ 24 - discord # chat app | not use this one for darwin because it's not containing Krisp 25 - ghostty # terminal emulator | marked as broken for darwin 13 + librewolf 14 + obsidian 15 + spotify 16 + ] ++ lib.optionals pkgs.stdenv.isLinux [ 17 + discord 18 + ghostty 26 19 ]; 27 - # ┌───────────────────────────────┐ 28 - # │ Darwin Only | 29 - # └───────────────────────────────┘ 30 - } // lib.mkIf pkgs.stdenv.isDarwin { 31 - homebrew.casks = [ 20 + 21 + # Only define homebrew.casks if on Darwin 22 + homebrew.casks = lib.mkIf pkgs.stdenv.isDarwin [ 32 23 "discord" 33 24 "ghostty" 34 25 ]; 35 - }); 26 + }; 36 27 }