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

39
hosts/piaf/default.nix Normal file
View file

@ -0,0 +1,39 @@
{ nix-flatpak, nixos-hardware, disko, agenix, ... }:
{
imports =
[
# Hosts
./hardware-configuration.nix
./hardware.nix
./disko-config.nix
../../users/lyes
../../users/lyes/desktop
../../modules
../../modules/desktop
../../modules/desktop/gaming
../../modules/desktop/gnome
../../modules/desktop/sway
nix-flatpak.nixosModules.nix-flatpak
nixos-hardware.nixosModules.framework-16-7040-amd
disko.nixosModules.disko
agenix.nixosModules.default
];
# Networking
networking = {
hostName = "piaf";
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 = "22.11"; # Did you read the comment?
}