1
0
Fork 0
nix-configuration/systems/configuration.nix.template
2024-12-05 17:19:10 -05:00

44 lines
902 B
Plaintext

# Template file for configuring a new host
{
pkgs,
home-manager,
lib,
config,
...
}:
let
# Do not change this value! This tracks when NixOS was installed on your system.
stateVersion = "24.11";
# The hostname for this system.
hostName = "myHost";
in
{
# Generate hardware-configuration.nix by running this command on the host:
# $ nixos-generate-config
imports = [ ./hardware-configuration.nix ];
system.stateVersion = stateVersion;
networking.hostName = hostName;
# Configure the system here.
aux.system = {
role = "workstation";
apps = {
# Define applications here
};
services = {
# Define services here
};
users.aires = {
enable = true;
services.syncthing = {
enable = true;
home = "/home/aires/.config/syncthing";
};
};
};
# Additional host-specific configuration options go here
}