flake: expose profiles as flake output, fmt

This commit is contained in:
Sam W 2022-09-26 15:12:26 +01:00
parent f28b42d23b
commit 70faca076a
4 changed files with 9 additions and 11 deletions

View File

@ -26,6 +26,7 @@
}) })
]; ];
in (rec { in (rec {
profiles = import ./home/profiles.nix;
lib = { lib = {
mkHome = { mkHome = {
profiles, profiles,
@ -48,9 +49,7 @@
}; };
# Standalone home-manager configurations # Standalone home-manager configurations
homeConfigurations = let homeConfigurations = {
profiles = import ./home/profiles.nix;
in {
boron = lib.mkHome { boron = lib.mkHome {
system = "aarch64-darwin"; system = "aarch64-darwin";
profiles = with profiles; [default dev sensitive mac docker aws]; profiles = with profiles; [default dev sensitive mac docker aws];

View File

@ -1,5 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;