2023-08-21 15:44:19 +00:00
|
|
|
# The main configuration file.
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix # Created by nixos-generate-config.
|
2023-08-23 12:34:32 +00:00
|
|
|
./packages.nix
|
2023-10-15 15:04:47 +00:00
|
|
|
./programs-services.nix
|
|
|
|
./system.nix
|
|
|
|
./users.nix
|
2023-08-21 15:44:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
settings.experimental-features = [ "flakes" "nix-command" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# Before changing this value read the documentation for this option!
|
2023-10-15 15:04:47 +00:00
|
|
|
# https://search.nixos.org/options?channel=23.11&show=system.stateVersion
|
|
|
|
system.stateVersion = "23.11";
|
2023-08-21 15:44:19 +00:00
|
|
|
}
|