mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
23 lines
431 B
Nix
23 lines
431 B
Nix
{ lib, pkgs, config, modulesPath, ... }:
|
|
{
|
|
|
|
system.stateVersion = "22.05";
|
|
# Enable nix flakes
|
|
nix.package = pkgs.nixFlakes;
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
|
|
wsl = {
|
|
enable = true;
|
|
wslConf.automount.root = "/mnt";
|
|
defaultUser = "sstent";
|
|
startMenuLaunchers = true;
|
|
interop.preserveArgvZero = true;
|
|
};
|
|
|
|
mymods = {
|
|
user_sstent.enable = true;
|
|
};
|
|
} |