From ed5667731776d96054897c04f2b399bfd535fa71 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 19 Aug 2023 07:20:34 +0000 Subject: [PATCH] i fixed it yay --- flake.nix | 21 ++++++++++----------- hosts/sakowsl/configuration.nix | 1 + 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 09be60f8..643c6e57 100644 --- a/flake.nix +++ b/flake.nix @@ -11,8 +11,8 @@ home-manager.inputs.nixpkgs.follows = "nixpkgs"; # nixos wsl NixOS-WSL = { - url = "github:nix-community/NixOS-WSL"; - inputs.nixpkgs.follows = "nixpkgs"; + url = "github:nix-community/NixOS-WSL"; + inputs.nixpkgs.follows = "nixpkgs"; }; # flake-compat for nixd #flake-compat = { @@ -73,15 +73,14 @@ ]; }; sakowsl = nixpkgs.lib.nixosSystem { - # because theres no hardware-configuration.nix - system = "x86_64-linux"; - specialArgs = {inherit inputs outputs;}; - modules = [ - { nix.registry.nixpkgs.flake = nixpkgs;} - ./hosts/sakowsl/configuration.nix - NixOS-WSL.nixosModules.wsl - ]; - + # because theres no hardware-configuration.nix + system = "x86_64-linux"; + specialArgs = {inherit inputs outputs;}; + modules = [ + {nix.registry.nixpkgs.flake = nixpkgs;} + ./hosts/sakowsl/configuration.nix + NixOS-WSL.nixosModules.wsl + ]; }; }; }; diff --git a/hosts/sakowsl/configuration.nix b/hosts/sakowsl/configuration.nix index 9498b7e9..6d228a83 100644 --- a/hosts/sakowsl/configuration.nix +++ b/hosts/sakowsl/configuration.nix @@ -55,6 +55,7 @@ }; services.gpg-agent = { enable = true; + pinentryFlavor = null; extraConfig = '' pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe" '';