Added a let expression in the macos home.nix

This commit is contained in:
Alexandre 2025-12-13 15:31:20 +01:00
parent 0efda1f79b
commit 278cdc80e4
2 changed files with 14 additions and 9 deletions

View File

@ -22,6 +22,7 @@
syncthing # ToDo: configure it ig syncthing # ToDo: configure it ig
cmatrix cmatrix
cava cava
spicetify-cli
# Dev CLI # Dev CLI
doxygen doxygen
autoconf autoconf
@ -33,6 +34,7 @@
# GUI apps # GUI apps
vscode vscode
bitwarden-desktop bitwarden-desktop
kitty # Terminal emulator but needs a GUI
# Go # Go
go # The main compiler go # The main compiler
@ -51,9 +53,10 @@
# Python # Python
python312 # The main interpreter python312 # The main interpreter
pip # The package manager pip # The package manager
kitty
]; ];
# Git config
} }

View File

@ -1,14 +1,15 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ let
# Refer to the nixOS host for info about home-manager commonHome = import ../common/home.nix {
import ../common/home.nix {
inherit config pkgs inputs; inherit config pkgs inputs;
username = "alex"; username = "alex";
homeDir = "/Users/alex"; homeDir = "/Users/alex";
} };
in
{
# Refer to the nixOS host for info about home-manager
inherit commonHome;
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -19,3 +20,4 @@
skhd skhd
#borders #borders
]; ];
}