oizys/modules/oizys.nix
2024-12-12 15:31:51 -06:00

64 lines
869 B
Nix

{
inputs,
lib,
self,
hostName,
...
}:
let
inherit (lib) mkEnableOption mkOption loadOverlays;
in
{
imports = with self.nixosModules; [
users
runes
nix
essentials
cli
nvim
vpn
gpg
lock
qtile
hyprland
plasma
virtualbox
docker
podman
gui
fonts
hp-scanner
languages
# programs
chrome
vscode
nix-ld
restic
llm
utils
];
options.oizys = {
user = mkOption {
type = lib.types.str;
default = "daylin";
description = "main user account";
};
desktop.enable = mkEnableOption "is desktop";
docker.enable = mkEnableOption "enable docker support";
};
config = {
networking.hostName = hostName;
time.timeZone = "US/Central";
nixpkgs.overlays = import ../overlays { inherit inputs loadOverlays; };
};
}