first commit

This commit is contained in:
2025-07-23 04:27:38 +02:00
commit caba04d493
18 changed files with 829 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
{
pkgs,
username,
hostname,
modulesPath,
inputs,
...
}:
let
in
{
imports = builtins.trace "${inputs.mysecrets}" [
(modulesPath + "/installer/scan/not-detected.nix")
./disk-config.nix
./hardware-configuration.nix
../../modules/core
../../modules/optionnal/hosts/${hostname}.nix
];
boot.kernelPackages = pkgs.linuxPackages_latest;
time.timeZone = "Europe/Paris";
nix = {
settings = {
## Enable flakes
experimental-features = [
"nix-command"
"flakes"
];
## Users trusted to use flake command
trusted-users = [
"root"
"${username}"
];
};
};
services.openssh.enable = true;
networking.hostName = "${hostname}";
system.stateVersion = "25.11";
}