From daf1669c8b91204a235b57bfda3c32098025e40f Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 17 Sep 2022 21:33:57 -0400 Subject: [PATCH] set flake registry for all hosts --- hosts/desktop/default.nix | 2 +- hosts/macbook/default.nix | 2 ++ hosts/wsl/default.nix | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 696bfd7..35d821a 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -11,7 +11,7 @@ nixpkgs.lib.nixosSystem { networking.hostName = "desktop"; nixpkgs.overlays = [ nur.overlay ]; # Set registry to flake packages, used for nix X commands - registry.nixpkgs.flake = nixpkgs; + nix.registry.nixpkgs.flake = nixpkgs; gaming.steam = true; gaming.leagueoflegends = true; gaming.legendary = true; diff --git a/hosts/macbook/default.nix b/hosts/macbook/default.nix index 13dec98..f828e70 100644 --- a/hosts/macbook/default.nix +++ b/hosts/macbook/default.nix @@ -16,6 +16,8 @@ darwin.lib.darwinSystem { colorscheme = (import ../../modules/colorscheme/gruvbox); mailUser = globals.user; nixpkgs.overlays = [ nur.overlay ]; + # Set registry to flake packages, used for nix X commands + nix.registry.nixpkgs.flake = nixpkgs; } ../common.nix ../../modules/darwin diff --git a/hosts/wsl/default.nix b/hosts/wsl/default.nix index f317aed..a2e37a5 100644 --- a/hosts/wsl/default.nix +++ b/hosts/wsl/default.nix @@ -10,6 +10,8 @@ nixpkgs.lib.nixosSystem { home-manager.nixosModules.home-manager { networking.hostName = "wsl"; + # Set registry to flake packages, used for nix X commands + nix.registry.nixpkgs.flake = nixpkgs; gui.enable = false; colorscheme = (import ../../modules/colorscheme/gruvbox); passwordHash =