Modularize with numtide/blueprint

This commit is contained in:
Julien Hémono 2025-12-06 13:58:07 +01:00
parent d0b1495ede
commit 5335a08eb5
17 changed files with 135 additions and 170 deletions

View file

@ -2,13 +2,12 @@
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{ flake, config, hostName, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
imports = with flake.nixosModules; [
./hardware-configuration.nix
../common
base
# Supporting
./buckets.nix
./nginx.nix
@ -28,7 +27,7 @@
boot.loader.efi.canTouchEfiVariables = true;
# Networking
networking.hostName = "sesame";
networking.hostName = hostName;
networking.domain = "hemono.fr";
# Set your time zone.