diff options
Diffstat (limited to 'host/Rory-wsl')
-rw-r--r-- | host/Rory-wsl/configuration.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/host/Rory-wsl/configuration.nix b/host/Rory-wsl/configuration.nix index 8aa8f3e..f18b918 100644 --- a/host/Rory-wsl/configuration.nix +++ b/host/Rory-wsl/configuration.nix @@ -1,15 +1,20 @@ -{ lib, pkgs, config, modulesPath, ... }: +{ lib, pkgs, config, modulesPath, nhekoSrc, mtxclientSrc, ... }: { imports = [ ../../modules/base-client.nix + ../../modules/software-templates/profilers.nix ]; wsl = { enable = true; automountPath = "/mnt"; - defaultUser = "nixos"; + #defaultUser = "nixos"; + defaultUser = "Rory"; startMenuLaunchers = true; + # Fix binfmt registration + interop.register = true; + # Enable native Docker support # docker-native.enable = true; @@ -18,6 +23,7 @@ }; networking.hostName = "Rory-wsl"; + users.users.Rory.uid = 1000; environment.systemPackages = with pkgs; [ wget @@ -40,6 +46,7 @@ vimPlugins.vim-nix neovim tree + (callPackage ../../modules/packages/nheko-git.nix { inherit nhekoSrc; inherit mtxclientSrc; }) ]; system.stateVersion = "23.05"; |