diff options
author | Emma (Rory&) <root@rory.gay> | 2023-10-15 01:15:22 +0000 |
---|---|---|
committer | Emma (Rory&) <root@rory.gay> | 2023-10-15 01:15:22 +0000 |
commit | d18e2cfc58735981cd3d2bc45a022c9bc7abd60f (patch) | |
tree | 9f50b0945d6382ac38ac2c94ed4aad14c373fa1b /host | |
parent | Cleanup (diff) | |
download | Rory-Open-Architecture-d18e2cfc58735981cd3d2bc45a022c9bc7abd60f.tar.xz |
Add new stuff from WSL
Diffstat (limited to 'host')
-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"; |