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, self,
pkgs, pkgs,
lib,
... ...
}: { }:
let inherit (lib) enabled;
in {
imports = with self.nixosModules; [ imports = with self.nixosModules; [
docker
restic restic
]; ];
oizys.languages = [ oizys = {languages = [
"nim" "nim"
"python" "python"
]; ];
docker = enabled;
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
rclone rclone

View file

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

View file

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

View file

@ -20,6 +20,7 @@
hyprland hyprland
virtualbox virtualbox
docker
gui 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; virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
lazydocker lazydocker
]; ];
};
} }

View file

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