oizys/modules/oizys.nix

57 lines
728 B
Nix
Raw Normal View History

2024-05-12 14:50:33 -05:00
{
lib,
self,
hostName,
...
}:
2024-05-06 14:32:00 -05:00
let
inherit (lib) mkEnableOption mkOption;
2024-05-06 14:32:00 -05:00
in
{
imports = with self.nixosModules; [
2024-01-28 13:09:34 -06:00
users
2024-05-06 15:30:10 -05:00
runes
2024-01-23 11:51:13 -06:00
nix
2024-05-06 15:30:10 -05:00
2024-06-10 11:55:14 -05:00
essentials
2024-01-23 11:51:13 -06:00
cli
nvim
2024-01-23 16:29:47 -06:00
vpn
2024-01-29 10:43:35 -06:00
gpg
2024-01-23 11:51:13 -06:00
2024-01-28 16:40:33 -06:00
lock
qtile
hyprland
2024-03-12 10:00:05 -05:00
virtualbox
2024-03-19 07:31:31 -05:00
docker
2024-03-12 10:00:05 -05:00
2024-01-28 16:40:33 -06:00
gui
2024-03-21 11:30:27 -05:00
fonts
2024-08-07 15:29:42 -05:00
hp-scanner
2024-01-28 16:40:33 -06:00
2024-02-27 10:11:44 -06:00
languages
# programs
2024-03-18 17:20:18 -05:00
chrome
vscode
2024-03-19 07:24:30 -05:00
nix-ld
2024-03-21 11:30:27 -05:00
restic
2024-01-23 11:51:13 -06:00
];
2024-01-28 16:40:33 -06:00
options.oizys = {
user = mkOption {
2024-08-05 11:00:25 -05:00
type = lib.types.str;
default = "daylin";
description = "main user account";
};
desktop.enable = mkEnableOption "is desktop";
docker.enable = mkEnableOption "enable docker support";
};
2024-05-12 14:50:33 -05:00
config = {
networking.hostName = hostName;
time.timeZone = "US/Central";
};
2024-01-23 11:51:13 -06:00
}