wsl fixes

This commit is contained in:
NullBite 2024-03-07 06:20:33 +00:00
parent 802377f4ef
commit 2a0e3098d4
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 3 additions and 1 deletions

View File

@ -3,9 +3,10 @@
config = { config = {
networking.hostName = "nixos-wsl"; networking.hostName = "nixos-wsl";
nixfiles.profile.base.enable = true; nixfiles.profile.base.enable = true;
networking.networkmanager.enable = false;
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
pinentryFlavor = "gnome3"; pinentryFlavor = "qt";
}; };
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [

View File

@ -39,6 +39,7 @@ in
# networking.hostName = "nixos"; # Define your hostname. # networking.hostName = "nixos"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# FIXME find somewhere else to put this
networking.networkmanager.enable = lib.mkDefault true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = lib.mkDefault true; # Easiest to use and most distros use this by default.
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run: