mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 06:00:45 -06:00
update the other hosts
This commit is contained in:
parent
5e49f286e6
commit
7f1223222a
6 changed files with 30 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
hyprland
|
||||
|
||||
virtualbox
|
||||
docker
|
||||
|
||||
gui
|
||||
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue