tvl-depot/users/glittershark/system/home/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
539 B
Nix
Raw Normal View History

{ pkgs, depot, lib, ... }:
with lib;
rec {
nixpkgs = import pkgs.nixpkgsSrc {};
home = confPath: (import "${nixpkgs.home-manager.src}/modules" {
pkgs = nixpkgs;
configuration = { config, lib, ... }: {
imports = [confPath];
_module.args.pkgs = mkForce
(import pkgs.nixpkgsSrc (filterAttrs (n: v: v != null) config.nixpkgs));
lib.depot = depot;
};
});
chupacabra = home ./machines/chupacabra.nix;
chupacabraHome = chupacabra.activation-script;
meta.targets = [ "chupacabraHome" ];
}