2023-06-22 16:10:53 +02:00
|
|
|
{ home-manager, stylix, lib, ... }:
|
2023-06-22 11:36:07 +02:00
|
|
|
|
2023-06-22 13:42:53 +02:00
|
|
|
let VARIABLES = import ./src/variables.nix; in {
|
2023-06-22 11:36:07 +02:00
|
|
|
imports = [
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
stylix.nixosModules.stylix
|
2023-06-22 13:42:53 +02:00
|
|
|
"${VARIABLES.hostHardwareConfiguration}"
|
2023-06-22 11:36:07 +02:00
|
|
|
./containers
|
|
|
|
./home
|
|
|
|
./modules
|
|
|
|
./overlays
|
|
|
|
./specializations
|
|
|
|
./src/main.nix
|
|
|
|
];
|
2023-06-22 16:10:53 +02:00
|
|
|
|
|
|
|
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"; };
|
|
|
|
};
|
2023-06-22 11:36:07 +02:00
|
|
|
}
|