fix: Remove overlays
This commit is contained in:
parent
6a58d98afa
commit
654364b9c0
1 changed files with 1 additions and 6 deletions
|
@ -68,14 +68,11 @@
|
||||||
# Nix files formatter (run `nix fmt`)
|
# Nix files formatter (run `nix fmt`)
|
||||||
formatter = forEachSupportedSystem ({ pkgs, ... }: pkgs.nixpkgs-fmt);
|
formatter = forEachSupportedSystem ({ pkgs, ... }: pkgs.nixpkgs-fmt);
|
||||||
|
|
||||||
overlays = { inherit (home-config.overlays) default; };
|
|
||||||
|
|
||||||
# Example vm configuration
|
# Example vm configuration
|
||||||
nixosConfigurations.vm =
|
nixosConfigurations.vm =
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
overlays = [ home-config.overlays.${system} ];
|
pkgs = import nixpkgs { inherit system; };
|
||||||
pkgs = import nixpkgs { inherit system overlays; };
|
|
||||||
in
|
in
|
||||||
lib.nixosSystem
|
lib.nixosSystem
|
||||||
{
|
{
|
||||||
|
@ -117,8 +114,6 @@
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = [ home-config.overlays.default ];
|
|
||||||
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.sharedModules = [ home-config.nixosModules.nixosModule ];
|
home-manager.sharedModules = [ home-config.nixosModules.nixosModule ];
|
||||||
|
|
Loading…
Reference in a new issue