From d18e2cfc58735981cd3d2bc45a022c9bc7abd60f Mon Sep 17 00:00:00 2001 From: "Emma (Rory&)" Date: Sun, 15 Oct 2023 01:15:22 +0000 Subject: Add new stuff from WSL --- host/Rory-wsl/configuration.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'host') 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"; -- cgit 1.4.1