Refactoring config preparing for server

This commit is contained in:
Lyes Saadi 2025-10-04 14:59:18 +02:00
parent 2bffc8d711
commit 6992836cfe
Signed by: lyes
GPG key ID: 55A1D803917CF39A
18 changed files with 165 additions and 10 deletions

32
hosts/zora/default.nix Normal file
View file

@ -0,0 +1,32 @@
{ disko, agenix, ... }:
{
imports =
[
# Hosts
./hardware-configuration.nix
./hardware.nix
./disko-config.nix
../../users/lyes
../../modules
disko.nixosModules.disko
agenix.nixosModules.default
];
# Networking
networking = {
hostName = "lyes-pc";
# hostId = "ed183b8f";
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.05"; # Did you read the comment?
}