mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
58 lines
737 B
Nix
58 lines
737 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
|
|
|
|
llm
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|