This commit is contained in:
Hadi 2024-06-19 22:39:12 +02:00
parent 0949607442
commit 50ee6b2dbf
2 changed files with 4 additions and 7 deletions

View File

@ -26,7 +26,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
}; };
outputs = inputs@{ nixpkgs, nur, sops-nix, ... }: { outputs = inputs@{ nixpkgs, nur, ... }: {
nixosConfigurations = { nixosConfigurations = {
nixy = nixpkgs.lib.nixosSystem { nixy = nixpkgs.lib.nixosSystem {
@ -55,10 +55,7 @@
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
{ {
nixpkgs.overlays = [ nur.overlay ]; nixpkgs.overlays = [ nur.overlay ];
_module.args = { _module.args = { inherit inputs; };
inherit inputs;
inherit sops-nix;
};
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;

View File

@ -1,6 +1,6 @@
{ sops-nix, ... }: { { test-nix, ... }: {
imports = [ sops-nix.nixosModules.sops ]; imports = [ test-nix.nixosModules.sops ];
sops = { sops = {
age.keyFile = "/home/hadi/.config/sops/age/keys.txt"; age.keyFile = "/home/hadi/.config/sops/age/keys.txt";