mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 17:53:17 +01:00
99d2913b41
Don't use variables for things that only get defined in one place.
24 lines
581 B
Nix
24 lines
581 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"; };
|
|
hostHardwareConfiguration = lib.mkOption { default = ./hardware/laptop.nix; };
|
|
stateVersion = lib.mkOption { default = "22.11"; };
|
|
username = lib.mkOption { default = "user"; };
|
|
defaultBrowser = lib.mkOption { default = "librewolf"; };
|
|
};
|
|
}
|