Merge remote-tracking branch 'gitea/master'
commit
9192baf8ad
|
@ -3,6 +3,7 @@
|
|||
, pkgs
|
||||
, myHome
|
||||
, myLib
|
||||
, extraSSH
|
||||
, ...
|
||||
}:
|
||||
{
|
||||
|
@ -26,7 +27,8 @@
|
|||
pkgs.python39Full
|
||||
pkgs.xorg.xclock
|
||||
pkgs.logseq
|
||||
# pkgs.python310
|
||||
pkgs.mosh
|
||||
# pkgs.python310 # dev packages should be in jk
|
||||
# pkgs.python310.numpy
|
||||
# pkgs.python310Packages.tensorflow
|
||||
# pkgs.python310Packages.scikit-learn
|
||||
|
|
|
@ -43,3 +43,8 @@ Host lizzi
|
|||
User hungtr
|
||||
Port 22
|
||||
|
||||
Host lizzi
|
||||
HostName 172.105.135.218
|
||||
User hungtr
|
||||
Port 22
|
||||
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, pkgs, config, modulesPath, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
nixos-wsl = import ./nixos-wsl;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
nixos-wsl.nixosModules.wsl
|
||||
configuration.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
|
||||
wsl = {
|
||||
enable = true;
|
||||
automountPath = "/mnt";
|
||||
defaultUser = "nixos"; # if change defaultUser, make sure uid to be 1000 (first user)
|
||||
startMenuLaunchers = true;
|
||||
automountOptions = "drvfs,metadata,uid=1000,gid=100";
|
||||
# Enable native Docker support
|
||||
# docker-native.enable = true;
|
||||
|
||||
# Enable integration with Docker Desktop (needs to be installed)
|
||||
docker-desktop.enable = true;
|
||||
|
||||
};
|
||||
# users.users.<defaultUser>.uid = 1000;
|
||||
# networking.hostName = "nixos";
|
||||
|
||||
}
|
Loading…
Reference in New Issue