update the other hosts

This commit is contained in:
Daylin Morgan 2024-03-19 07:31:31 -05:00
parent 5e49f286e6
commit 7f1223222a
Signed by: daylin
GPG key ID: 950D13E9719334AD
6 changed files with 30 additions and 7 deletions

View file

@ -1,17 +1,22 @@
{
self,
pkgs,
lib,
...
}: {
}:
let inherit (lib) enabled;
in {
imports = with self.nixosModules; [
docker
restic
];
oizys.languages = [
oizys = {languages = [
"nim"
"python"
];
docker = enabled;
};
environment.systemPackages = with pkgs; [
rclone

View file

@ -1,9 +1,12 @@
{self, ...}: {
{self, lib, ...}: let inherit (lib) enabled; in {
imports = with self.nixosModules; [
nix-ld
];
oizys.desktop.enable = true;
oizys = {
desktop = enabled;
nix-ld = enabled;
};
# Enable the X11 windowing system.
services.xserver = {

View file

@ -8,7 +8,6 @@
in {
imports = with self.nixosModules; [
restic
docker
];
oizys = {
@ -20,6 +19,7 @@ in {
"node"
];
nix-ld = enabled;
docker = enabled;
vbox = enabled;
desktop = enabled;
vpn = enabled;

View file

@ -20,6 +20,7 @@
hyprland
virtualbox
docker
gui

View file

@ -1,6 +1,18 @@
{pkgs, ...}: {
{pkgs,
config,
lib,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.oizys.docker;
in {
options.oizys.docker.enable = mkEnableOption "enable docker support";
config = mkIf cfg.enable {
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [
lazydocker
];
};
}

View file

@ -7,7 +7,9 @@
cfg = config.oizys.vbox;
in {
options.oizys.vbox.enable = mkEnableOption "enable virtualbox host";
config = mkIf cfg.enable {
virtualisation.virtualbox = {
host.enable = true;
};