Refactor : remove common hosts and move to modules

This commit is contained in:
2025-09-26 01:42:40 +02:00
parent 6135e433a6
commit 96afcd2c67
4 changed files with 2 additions and 41 deletions

View File

@@ -8,7 +8,7 @@
}:
{
system.stateVersion = "25.11";
imports = builtins.trace "${inputs.mysecrets}" [
(modulesPath + "/installer/scan/not-detected.nix")
./network.nix
@@ -17,23 +17,4 @@
../../modules/core
../../modules/optionnals/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}"
];
};
};
}