From cd942d253bda8f511fdb921ea29f69f382a9368e Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 8 Mar 2024 10:50:28 +0530 Subject: repo: restructure source tree --- flake.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 2749aed..8c63e01 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable"; + sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -16,7 +17,8 @@ inherit system; modules = [ { networking.hostName = host; } - ./hosts/${host}/configuration.nix + ./nixos/${host}/configuration.nix + sops-nix.nixosModules.sops ]; }; @@ -26,6 +28,7 @@ ); in { - nixosConfigurations = makeX86 [ "cez" "kay" "lia" "fscusat" "dspace" ]; + nixosConfigurations = + makeX86 [ "cez" "kay" "lia" "fscusat" "dspace" ]; }; } -- cgit v1.2.3