mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-09 20:33:15 -06:00
55 lines
716 B
Nix
55 lines
716 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.string;
|
|
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";
|
|
};
|
|
}
|