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"; networking.hostName = "desktop";
nixpkgs.overlays = [ nur.overlay ]; nixpkgs.overlays = [ nur.overlay ];
# Set registry to flake packages, used for nix X commands # Set registry to flake packages, used for nix X commands
registry.nixpkgs.flake = nixpkgs; nix.registry.nixpkgs.flake = nixpkgs;
gaming.steam = true; gaming.steam = true;
gaming.leagueoflegends = true; gaming.leagueoflegends = true;
gaming.legendary = true; gaming.legendary = true;

View File

@ -16,6 +16,8 @@ darwin.lib.darwinSystem {
colorscheme = (import ../../modules/colorscheme/gruvbox); colorscheme = (import ../../modules/colorscheme/gruvbox);
mailUser = globals.user; mailUser = globals.user;
nixpkgs.overlays = [ nur.overlay ]; nixpkgs.overlays = [ nur.overlay ];
# Set registry to flake packages, used for nix X commands
nix.registry.nixpkgs.flake = nixpkgs;
} }
../common.nix ../common.nix
../../modules/darwin ../../modules/darwin

View File

@ -10,6 +10,8 @@ nixpkgs.lib.nixosSystem {
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
networking.hostName = "wsl"; networking.hostName = "wsl";
# Set registry to flake packages, used for nix X commands
nix.registry.nixpkgs.flake = nixpkgs;
gui.enable = false; gui.enable = false;
colorscheme = (import ../../modules/colorscheme/gruvbox); colorscheme = (import ../../modules/colorscheme/gruvbox);
passwordHash = passwordHash =