i fixed it yay

This commit is contained in:
Sakooooo 2023-08-19 07:20:34 +00:00
parent 2675b6ae0d
commit ed56677317
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 11 additions and 11 deletions

View file

@ -11,8 +11,8 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
# nixos wsl # nixos wsl
NixOS-WSL = { NixOS-WSL = {
url = "github:nix-community/NixOS-WSL"; url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# flake-compat for nixd # flake-compat for nixd
#flake-compat = { #flake-compat = {
@ -73,15 +73,14 @@
]; ];
}; };
sakowsl = nixpkgs.lib.nixosSystem { sakowsl = nixpkgs.lib.nixosSystem {
# because theres no hardware-configuration.nix # because theres no hardware-configuration.nix
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = {inherit inputs outputs;}; specialArgs = {inherit inputs outputs;};
modules = [ modules = [
{ nix.registry.nixpkgs.flake = nixpkgs;} {nix.registry.nixpkgs.flake = nixpkgs;}
./hosts/sakowsl/configuration.nix ./hosts/sakowsl/configuration.nix
NixOS-WSL.nixosModules.wsl NixOS-WSL.nixosModules.wsl
]; ];
}; };
}; };
}; };

View file

@ -55,6 +55,7 @@
}; };
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
pinentryFlavor = null;
extraConfig = '' extraConfig = ''
pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe" pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe"
''; '';