1
0
forked from extern/nix-config
donovanglover-nix-config/default.nix
Donovan Glover 4d8ce87fb1
meta: Import hardware
Which hardware can be determined from the default.nix at a later date if
needed.
2023-06-22 10:16:38 -04:00

27 lines
823 B
Nix

{ home-manager, stylix, lib, ... }:
{
imports = [
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
./containers
./hardware
./home
./modules
./overlays
./specializations
./src/main.nix
];
options.variables = {
hostname = lib.mkOption { default = "nixos"; };
timezone = lib.mkOption { default = "America/New_York"; };
hostHardwareConfiguration = lib.mkOption { default = ./hardware/laptop.nix; };
stateVersion = lib.mkOption { default = "22.11"; };
defaultLocale = lib.mkOption { default = "ja_JP.UTF-8"; };
supportedLocales = lib.mkOption { default = [ "ja_JP.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "fr_FR.UTF-8/UTF-8" ]; };
username = lib.mkOption { default = "user"; };
defaultBrowser = lib.mkOption { default = "librewolf"; };
};
}