nixfiles/hosts/nixos-wsl/configuration.nix
NullBite e5d97e2dbd
nixos-wsl: update configuration
- enable cli multimedia applications (ffmpeg)
- fix pinentry config
2024-03-12 17:43:50 +00:00

25 lines
514 B
Nix

{ pkgs, config, lib, ... }:
{
config = {
networking.hostName = "nixos-wsl";
nixfiles.profile.base.enable = 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" ];
};
};
}