mirror of
https://github.com/sstent/vmimages.git
synced 2026-04-05 20:43:38 +00:00
sync
This commit is contained in:
24
hosts/StuMini-WSL/default.nix
Normal file
24
hosts/StuMini-WSL/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../common.nix
|
||||
../user-sstent.nix
|
||||
inputs.nixos-wsl.nixosModules.wsl
|
||||
];
|
||||
|
||||
# system.stateVersion = "22.11";
|
||||
nixpkgs.hostPlatform.system = "x86_64-linux";
|
||||
networking.hostName = "StuMini-WSL";
|
||||
services.openssh.enable = true;
|
||||
custom = {
|
||||
mullvad.enable = true;
|
||||
mnt_public.enable = false;
|
||||
syncthing.enable = true;
|
||||
wsl.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -56,7 +56,7 @@
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Enable nix flakes
|
||||
nix.package = pkgs.nixFlakes;
|
||||
nix.package = pkgs.nixVersions.stable;
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user