oizys/modules/oizys.nix
2024-08-05 11:00:25 -05:00

56 lines
713 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
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";
};
}