mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 01:50:44 -06:00
60 lines
836 B
Nix
60 lines
836 B
Nix
{
|
|
inputs,
|
|
lib,
|
|
self,
|
|
hostName,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkEnableOption mkOption loadOverlays;
|
|
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";
|
|
nixpkgs.overlays = import ../overlays { inherit inputs loadOverlays; };
|
|
};
|
|
}
|