My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/infra/libkookie/configuration/nix/default.nix

18 lines
502 B

{ config, pkgs, lib, ... }:
{
nix.trustedUsers = [ "@wheel" ];
nix.nixPath = [
"nixos-config=/run/current-system/libkookie/roots/${config.networking.hostName}.nix"
"home-manager=/run/current-system/libkookie/home-manager"
"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) ];
}