diff --git a/flake.lock b/flake.lock index 6238a49..b7bd745 100644 --- a/flake.lock +++ b/flake.lock @@ -84,16 +84,16 @@ ] }, "locked": { - "lastModified": 1702823833, - "narHash": "sha256-Sreo1VEMSwS/T83QxXeN1cDtgXWXPMibGYfQ8pLLSVc=", + "lastModified": 1720391164, + "narHash": "sha256-RrJsSelbJ/SCrnCH0yLEvgVSKVoG7b45Qhf/6fOiQ8I=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "34eda458bd3f6bad856a99860184d775bc1dd588", + "rev": "05098ab6e48684c573d7033bd583b1eea2f5f851", "type": "github" }, "original": { "owner": "nix-community", - "ref": "2311.5.3", + "ref": "2405.5.4", "repo": "NixOS-WSL", "type": "github" } diff --git a/flake.nix b/flake.nix index 0813fff..d5eed23 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,8 @@ { description = "My Nix Configs"; - inputs = { + inputs = + { nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nur = { url = "github:nix-community/NUR"; @@ -11,7 +12,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; nixos-wsl = { - url = "github:nix-community/NixOS-WSL/2311.5.3"; + url = "github:nix-community/NixOS-WSL/2405.5.4"; inputs.nixpkgs.follows = "nixpkgs"; }; disko = { diff --git a/src/system/machines/wsl/modules/wsl/wsl.nix b/src/system/machines/wsl/modules/wsl/wsl.nix index 04cae75..e2a4ea8 100644 --- a/src/system/machines/wsl/modules/wsl/wsl.nix +++ b/src/system/machines/wsl/modules/wsl/wsl.nix @@ -7,6 +7,7 @@ enable = true; defaultUser = lib.mkDefault config.user.name; nativeSystemd = true; + useWindowsDriver = true; wslConf = { user.default = lib.mkDefault defaultUser;