properly assigns the custom shell

This commit is contained in:
alsaiduq-lab 2025-03-16 06:46:30 -06:00
parent 5ebd696c23
commit 19b83baf88
6 changed files with 49 additions and 31 deletions

View file

@ -19,23 +19,34 @@
outputs = { self, nixpkgs, home-manager, nixvim, nix-gaming, ... }@inputs:
let
system = "x86_64-linux";
customPkgsOverlay = final: prev: import ./pkgs {
pkgs = prev;
lib = prev.lib;
};
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [ customPkgsOverlay ];
};
lib = nixpkgs.lib;
in {
nixosConfigurations = {
nixos = lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
inherit system;
};
specialArgs = { inherit inputs; };
modules = [
{ nixpkgs.overlays = [ customPkgsOverlay ]; }
./hosts/configuration.nix
];
};
};
homeConfigurations = {
"cobray" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = { inherit inputs; };
modules = [ ./home-manager/cobray.nix ];
};
};
};
}