Add nixPath and sops-nix

This commit is contained in:
Lgmrszd 2024-01-21 21:53:13 +03:00
parent 4af5fb4bcb
commit 86c49e2ac6
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE
6 changed files with 95 additions and 2 deletions

View file

@ -26,6 +26,11 @@
url = "github:viperML/nh";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
};
};
outputs = inputs@{
@ -36,6 +41,7 @@
# nix-index-database,
# nur,
home-manager,
sops-nix,
...
}:
let
@ -87,6 +93,7 @@
./hosts/laptop/hardware-configuration.nix
./hosts/laptop/mounts.nix
# nix-index-database.nixosModules.nix-index
sops-nix.nixosModules.sops
# make home-manager as a module of nixos
# so that home-manager configuration will be deployed automatically when executing `nixos-rebuild switch`