re-organize configuration

This commit is contained in:
Antoine Martin 2021-02-14 13:42:43 +01:00
parent e2456d8019
commit 93f392f37e
12 changed files with 54 additions and 24 deletions

25
poseidon.nix Normal file
View file

@ -0,0 +1,25 @@
{ ... }:
{
imports = [
# Default configuration
./base
# Service definitions
./services
# Configuration secrets
./secrets
# Host-specific config
./hosts/poseidon
];
# 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 = "20.09"; # Did you read the comment?
}