dotfiles/default.nix

31 lines
565 B
Nix
Raw Normal View History

2024-07-17 13:18:59 +00:00
{ config, lib, pkgs, ... }:
{
imports = [
# Temporary until it has been subdivided into modules.
./merged.nix
2024-07-17 13:18:59 +00:00
# Automation for user configuration
./users.nix
2024-07-17 13:18:59 +00:00
# System configuration options
./system.nix
2024-07-17 13:18:59 +00:00
# Import test configuration
./test.nix
];
2024-07-17 13:18:59 +00:00
options = {
custom.laptop = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether the current system is a laptop.";
2024-07-17 13:18:59 +00:00
};
};
config = {
# Set the state version
system.stateVersion = "24.05"
2024-07-17 13:18:59 +00:00
};
}