aboutsummaryrefslogtreecommitdiff
path: root/modules/nix/default.nix
blob: cb79a0f2652aec3dd83c70c29a24d57062d59a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config, pkgs, lib, ... }:

{
  nix.trustedUsers = [ "@wheel" ];

  nix.nixPath = [
    "home-manager=/run/current-system/libkookie/home-manager"
    "nixos-config=/run/current-system/libkookie/configuration.nix"
    "nixpkgs-overlays=/run/current-system/libkookie/overlays"
    "nixpkgs=/run/current-system/libkookie/nixpkgs"
  ];

  system.extraSystemBuilderCmds = ''
    ln -s ${lib.cleanSource ../..} $out/libkookie
  '';

}