add tide and sops-nix flake inputs
This commit is contained in:
parent
792f83a324
commit
b7716061e4
2 changed files with 90 additions and 2 deletions
17
flake.nix
17
flake.nix
|
|
@ -8,9 +8,19 @@
|
|||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
tide = {
|
||||
# Local path while iterating; switch to
|
||||
# git+https://git.yisroelbaum.com/yisroelbaum/TIDE once pushed.
|
||||
url = "path:/home/yisroel/Projects/TIDE";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }:
|
||||
outputs = { self, nixpkgs, home-manager, sops-nix, tide, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
domainName = "yisroelbaum.com";
|
||||
|
|
@ -18,7 +28,10 @@
|
|||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./tide.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
tide.nixosModules.tide
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
|
@ -32,6 +45,8 @@
|
|||
in pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
nixos-rebuild
|
||||
sops
|
||||
age
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue