set flake registry for all hosts

This commit is contained in:
Noah Masur 2022-09-17 21:33:57 -04:00
parent 4e15c21df7
commit daf1669c8b
3 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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

View File

@ -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 =