nix-config/default.nix
Donovan Glover 99d2913b41
nix: Remove one-off variables
Don't use variables for things that only get defined in one place.
2023-06-22 10:17:49 -04:00

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"; };
};
}