From 278cdc80e4aedf5f3eee7a2c95d5c5bc839c90b1 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sat, 13 Dec 2025 15:31:20 +0100 Subject: [PATCH] Added a let expression in the macos home.nix --- hosts/common/home.nix | 9 ++++++--- hosts/macos/home.nix | 14 ++++++++------ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/hosts/common/home.nix b/hosts/common/home.nix index de8ae3a..9926b5b 100644 --- a/hosts/common/home.nix +++ b/hosts/common/home.nix @@ -22,6 +22,7 @@ syncthing # ToDo: configure it ig cmatrix cava + spicetify-cli # Dev CLI doxygen autoconf @@ -33,6 +34,7 @@ # GUI apps vscode bitwarden-desktop + kitty # Terminal emulator but needs a GUI # Go go # The main compiler @@ -51,9 +53,10 @@ # Python python312 # The main interpreter pip # The package manager - - kitty - ]; + # Git config + + + } diff --git a/hosts/macos/home.nix b/hosts/macos/home.nix index 0cc7b35..2561936 100644 --- a/hosts/macos/home.nix +++ b/hosts/macos/home.nix @@ -1,14 +1,15 @@ { config, pkgs, ... }: -{ - # Refer to the nixOS host for info about home-manager - import ../common/home.nix { +let + commonHome = import ../common/home.nix { inherit config pkgs inputs; username = "alex"; homeDir = "/Users/alex"; - } - - + }; +in +{ + # Refer to the nixOS host for info about home-manager + inherit commonHome; # Allow unfree packages nixpkgs.config.allowUnfree = true; @@ -19,3 +20,4 @@ skhd #borders ]; +}