Refactor inputs
All checks were successful
/ check (push) Successful in 1m11s

Move them to each host's configuration.nix file and keep flake.nix
shorter and cleaner.
This commit is contained in:
Oliver Davies 2025-06-01 00:32:00 +01:00
parent 3437a7479a
commit 22264fb82e
6 changed files with 28 additions and 33 deletions

View file

@ -2,10 +2,12 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, ... }:
{ inputs, pkgs, ... }:
{
imports = [
inputs.agenix.nixosModules.default
../common
./hardware-configuration.nix
./homelab.nix