oizys/modules/oizys.nix
2024-08-07 15:29:42 -05:00

56 lines
728 B
Nix

{
lib,
self,
hostName,
...
}:
let
inherit (lib) mkEnableOption mkOption;
in
{
imports = with self.nixosModules; [
users
runes
nix
essentials
cli
nvim
vpn
gpg
lock
qtile
hyprland
virtualbox
docker
gui
fonts
hp-scanner
languages
# programs
chrome
vscode
nix-ld
restic
];
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";
};
}