Update wsl

This commit is contained in:
2024-03-05 15:09:46 +00:00
parent 2817cb2aed
commit ce7d04867b
3 changed files with 22 additions and 4 deletions
+17 -1
View File
@@ -9,6 +9,10 @@
};
impermanence.url = "github:nix-community/impermanence";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
@@ -125,7 +129,19 @@
})
];
lucca = mkSystem "lucca" "none" [];
lucca = mkSystem "lucca" "none" [
({pkgs, ...}: {
imports = [
inputs.nixos-wsl.nixosModules.wsl
];
wsl.enable = true;
wsl.defaultUser = "zoriya";
environment.systemPackages = with pkgs; [
wslu
wsl-open
];
})
];
};
};
}
+4 -2
View File
@@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ lib, ... }:
{
imports = [ ];
@@ -11,6 +11,8 @@
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.loader.systemd-boot.enable = lib.mkForce false;
fileSystems."/mnt/wsl" =
{ device = "none";
fsType = "tmpfs";
@@ -32,7 +34,7 @@
};
fileSystems."/mnt/wslg/distro" =
{ device = "";
{ device = "none";
fsType = "none";
options = [ "bind" ];
};
+1 -1
View File
@@ -16,7 +16,7 @@
"increment-activator": { "branch": "master", "commit": "55efcff88be45bd98cfdf7333dd718399373d10c" },
"indent-blankline.nvim": { "branch": "master", "commit": "821a7acd88587d966f7e464b0b3031dfe7f5680c" },
"lazy-lsp.nvim": { "branch": "master", "commit": "cdfeaf4f6c1714990180453723921002374a30de" },
"lazy.nvim": { "branch": "main", "commit": "aedcd79811d491b60d0a6577a9c1701063c2a609" },
"lazy.nvim": { "branch": "main", "commit": "28126922c9b54e35a192ac415788f202c3944c9f" },
"lsp_signature.nvim": { "branch": "master", "commit": "fed2c8389c148ff1dfdcdca63c2b48d08a50dea0" },
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
"lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" },