nixfiles/hosts/nixos-wsl/configuration.nix
2024-03-03 02:24:59 +00:00

24 lines
459 B
Nix

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