reo101
e3b1539b41
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`
30 lines
634 B
Nix
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;
|
|
# };
|
|
};
|
|
}
|