Closed blmhemu closed 2 years ago
Similar to ./home.nix
?
Something like this ?
{ config, lib, nixpkgs, home-manager, ... }:
{
imports = [ home-manager.darwinModule ];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
};
}
Something like:
{ pkgs, lib, system, inputs, ... }:
{
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.srid = import ./home.nix
{
inherit inputs system pkgs;
};
}
}
@blmhemu If you have any more questions, I suggest posting to https://discourse.nixos.org/
In the main flake.nix, is it possible to extract the below snippet into another file and use the file here ?