fix: make work automatically use wsl home-manager config

This commit is contained in:
Michael Thomas 2022-06-24 12:21:06 -04:00
parent 66f71f9688
commit 09d6c8aa8f
2 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,7 @@
system = utils.lib.system.x86_64-linux;
modules = [
self.overlaysModule
home-manager.nixosModules.home-manager
{
nixpkgs.overlays = [
(import ./overlays/iptables)

View File

@ -28,6 +28,11 @@ in
# Required because for some reason WSL kernel doesn't play well with nftables
networking.firewall.package = pkgs.iptables-legacy;
home-manager = {
users.michael = import ../../user/environments/wsl/home.nix pkgs;
useGlobalPkgs = true;
};
environment.systemPackages = with pkgs; [
wget
];