2024-05-10 16:53:17 +00:00
|
|
|
# Template file for configuring a new host
|
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
home-manager,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
# Generate hardware-configuration.nix by running this command on the host:
|
|
|
|
# $ nixos-generate-config
|
|
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
|
2024-06-24 15:38:28 +00:00
|
|
|
aux.system = {
|
2024-05-10 16:53:17 +00:00
|
|
|
role = "workstation";
|
|
|
|
apps = {
|
|
|
|
# Define applications here
|
|
|
|
};
|
|
|
|
services = {
|
|
|
|
# Define services here
|
|
|
|
};
|
|
|
|
users.aires = {
|
|
|
|
enable = true;
|
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
|
|
|
autostart = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# Additional host-specific configuration options go here
|
|
|
|
}
|