beginning of sops-setup
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -2,8 +2,8 @@
|
||||
description = "JawZ NixOS flake setup";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-24.05";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
nixpkgs-master.url = "github:nixos/nixpkgs?ref=master";
|
||||
unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
master.url = "github:nixos/nixpkgs?ref=master";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -15,7 +15,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, unstable, master, home-manager, ... }@inputs:
|
||||
outputs =
|
||||
{ self, nixpkgs, unstable, master, home-manager, sops-nix, ... }@inputs:
|
||||
let
|
||||
inherit (self) outputs;
|
||||
lib = nixpkgs.lib // home-manager.lib;
|
||||
@@ -37,6 +38,7 @@
|
||||
specialArgs = { inherit inputs outputs; };
|
||||
modules = [
|
||||
./hosts/workstation/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
({ pkgs, ... }: {
|
||||
nixpkgs.overlays =
|
||||
[ (import ./overlay.nix { inherit pkgs pkgsU pkgsM; }) ];
|
||||
@@ -48,6 +50,7 @@
|
||||
specialArgs = { inherit inputs outputs; };
|
||||
modules = [
|
||||
./hosts/miniserver/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
({ pkgs, ... }: {
|
||||
nixpkgs.overlays =
|
||||
[ (import ./overlay.nix { inherit pkgs pkgsU pkgsM; }) ];
|
||||
@@ -59,6 +62,7 @@
|
||||
specialArgs = { inherit inputs outputs; };
|
||||
modules = [
|
||||
./hosts/server/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
({ pkgs, ... }: {
|
||||
nixpkgs.overlays =
|
||||
[ (import ./overlay.nix { inherit pkgs pkgsU pkgsM; }) ];
|
||||
|
||||
Reference in New Issue
Block a user