mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 15:48:21 +01:00
Add nixPath and sops-nix
This commit is contained in:
parent
4af5fb4bcb
commit
86c49e2ac6
6 changed files with 95 additions and 2 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue