mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 07:25:40 +00:00
feat: add sops-nix
This commit is contained in:
parent
7e57ae8088
commit
4a948cc348
10 changed files with 85 additions and 5 deletions
11
flake.nix
11
flake.nix
|
@ -14,19 +14,26 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... } @ inputs:
|
||||
let
|
||||
rootPath = ./.;
|
||||
in
|
||||
{
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
specialArgs = { inherit inputs rootPath; };
|
||||
modules = [
|
||||
./hosts/nixos/configuration.nix
|
||||
];
|
||||
};
|
||||
homeConfigurations."toast@nixos" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
extraSpecialArgs = { inherit inputs rootPath; };
|
||||
modules = [
|
||||
./home/toast/home.nix
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue