Prepare for profile-based home manager configs

This commit is contained in:
Sam W 2022-01-10 18:59:32 +00:00
parent b0d9dfe1ba
commit 17b66b11fb
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let mypkgs = (import ./modules/pkgs.nix { inherit pkgs; }); let mypkgs = (import ../modules/pkgs.nix { inherit pkgs; });
in { in {
home.packages = mypkgs.all; home.packages = mypkgs.all;
home.sessionVariables = { home.sessionVariables = {

1
home/profiles.nix Normal file
View File

@ -0,0 +1 @@
{ dev = { ... }: { imports = [ ./default.nix ]; }; }