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
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
}

View File

@ -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
];
}