blob: 9c0171ec6f4178de7ef03c1ab28f3652df0dab57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ config, pkgs, lib, ... }:
{
nix.trustedUsers = [ "@wheel" ];
nix.nixPath = [
"home-manager=/run/current-system/libkookie/home-manager"
"nixos-config=/run/current-system/libkookie/roots/$ROOT" # $ROOT is set by `build`
"nixpkgs-overlays=/run/current-system/libkookie/overlays"
"nixpkgs=/run/current-system/libkookie/nixpkgs"
];
system.extraSystemBuilderCmds = ''
ln -s ${lib.cleanSource ../..} $out/libkookie
'';
nixpkgs.overlays = [ (import ../../overlays) ];
}
|