Creates a standalone data file that can be imported by both aspects/constants.nix and terranix configurations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
349 B
Nix
14 lines
349 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.modules.nixos.desktop-nix = { config, lib, pkgs, ... }: {
|
|
environment.etc."channels/nixpkgs".source = inputs.nixpkgs.outPath;
|
|
|
|
nix = {
|
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
|
nixPath = [
|
|
"nixpkgs=${inputs.nixpkgs}"
|
|
"/nix/var/nix/profiles/per-user/root/channels"
|
|
];
|
|
};
|
|
};
|
|
}
|