i fixed it yay
This commit is contained in:
parent
2675b6ae0d
commit
ed56677317
2 changed files with 11 additions and 11 deletions
21
flake.nix
21
flake.nix
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue