fix: Remove overlays

This commit is contained in:
Jalil David Salamé Messina 2024-01-17 01:39:31 +01:00
parent 6a58d98afa
commit 654364b9c0
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -68,14 +68,11 @@
# Nix files formatter (run `nix fmt`)
formatter = forEachSupportedSystem ({ pkgs, ... }: pkgs.nixpkgs-fmt);
overlays = { inherit (home-config.overlays) default; };
# Example vm configuration
nixosConfigurations.vm =
let
system = "x86_64-linux";
overlays = [ home-config.overlays.${system} ];
pkgs = import nixpkgs { inherit system overlays; };
pkgs = import nixpkgs { inherit system; };
in
lib.nixosSystem
{
@ -117,8 +114,6 @@
home-manager.nixosModules.home-manager
];
nixpkgs.overlays = [ home-config.overlays.default ];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.sharedModules = [ home-config.nixosModules.nixosModule ];