mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 21:20:13 +00:00
move apps into pkgs and rename hosts
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (config.nmasur.settings) username;
|
||||
cfg = config.nmasur.profiles.wsl;
|
||||
in
|
||||
|
||||
@ -9,6 +10,16 @@ in
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
wsl = {
|
||||
enable = true;
|
||||
wslConf.automount.root = lib.mkDefault "/mnt";
|
||||
defaultUser = lib.mkDefault username;
|
||||
startMenuLaunchers = lib.mkDefault true;
|
||||
nativeSystemd = lib.mkDefault true;
|
||||
wslConf.network.generateResolvConf = lib.mkDefault true; # Turn off if it breaks VPN
|
||||
interop.includePath = lib.mkDefault false; # Including Windows PATH will slow down Neovim command mode
|
||||
};
|
||||
|
||||
# # Replace config directory with our repo, since it sources from config on
|
||||
# # every launch
|
||||
# system.activationScripts.configDir.text = ''
|
||||
|
Reference in New Issue
Block a user