nixfiles/hosts/nixos-wsl/configuration.nix
NullBite 035ebf14e0
Update unstable and switch hosts back to it
Revert "change all systems to 23.11 pending nixpkgs#300028"

This reverts commit 8a1ec3911e29ada2d0725ff91ca613faf9c7db7e.

Update flake.lock
2024-04-03 10:50:29 -04:00

31 lines
594 B
Nix

{ pkgs, config, lib, ... }:
{
config = {
networking.hostName = "nixos-wsl";
nixfiles = {
profile.base.enable = true;
binfmt.enable = true;
};
wsl.interop.register = true;
networking.networkmanager.enable = false;
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-qt;
};
fonts.packages = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })
noto-fonts
noto-fonts-cjk
];
fileSystems."/mnt/wsl/instances/NixOS" = {
device = "/";
options = [ "bind" ];
};
};
}