rix101/modules/home-manager/nix-general/default.nix
reo101 e3b1539b41
refactor(flake)!: deduplicate code in configurations flake module
Pass around `perSystem`'s `pkgs` instances to the system configurations
Some more refactoring in `configurations`' `mkHost` functions
Also start using `home-manager`'s `useGlobalPkgs` option
Also use `mkShellNoCC` for default `devShell`
Also `nix flake update`
2024-07-20 14:30:25 +03:00

30 lines
634 B
Nix

{ inputs, outputs, ... }:
{ lib, pkgs, config, ... }:
{
imports = [ ];
options = { };
config = {
# # Add flake inputs to $NIX_PATH
# home.sessionVariables = {
# NIX_PATH =
# builtins.concatStringsSep
# ":"
# (lib.mapAttrsToList
# (name: input:
# "${name}=${input.sourceInfo.outPath}")
# inputs);
# };
# NOTE: now automatic, since we're doing `useGlobalPkgs = true`
#
# # Use flake overlays by default
# nixpkgs = {
# overlays = lib.attrValues outputs.overlays;
#
# config.allowUnfree = true;
# };
};
}