nixConf is a top level attribute

This commit is contained in:
Daniel Olsen 2022-06-08 20:32:33 +02:00
parent 5fc4b24fb5
commit 79fc87bde1
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,9 @@
{ {
description = "dandellion's home-manager profiles"; description = "dandellion's home-manager profiles";
nixConfig.extra-substituters = ["https://helix.cachix.org"];
nixConfig.exta-trusted-public-keys = "mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=";
inputs = { inputs = {
home-manager-2205.url = "github:nix-community/home-manager/release-22.05"; home-manager-2205.url = "github:nix-community/home-manager/release-22.05";
nixos-2205.url = "github:nixos/nixpkgs/nixos-22.05"; nixos-2205.url = "github:nixos/nixpkgs/nixos-22.05";
@ -41,8 +44,6 @@
allMachines = [ "laptop" "desktop" "headless" "pvv-terminal" ]; allMachines = [ "laptop" "desktop" "headless" "pvv-terminal" ];
in in
{ {
nixConfig.extra-substituters = ["https://helix.cachix.org"];
nixConfig.trusted-public-keys = "mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=";
homeConfigurations = mkHomes [ "laptop" "headless" ] { } homeConfigurations = mkHomes [ "laptop" "headless" ] { }
// mkHomes [ "desktop" ] { username = "dan"; } // mkHomes [ "desktop" ] { username = "dan"; }