1
This commit is contained in:
2023-09-01 11:40:07 +02:00
parent c364647a7e
commit 5947626dde
15 changed files with 108 additions and 66 deletions

View File

@ -1,12 +1,13 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ {
imports = config,
[ # Include the results of the hardware scan. pkgs,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos> <home-manager/nixos>

View File

@ -1,11 +1,15 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ {
imports = config,
[ (modulesPath + "/profiles/qemu-guest.nix") lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
]; ];
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"]; boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
@ -45,8 +49,6 @@
}; };
}; };
swapDevices = []; swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.NAME = { virtualisation.oci-containers.containers.NAME = {
image = ""; image = "";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.fileflows = { virtualisation.oci-containers.containers.fileflows = {
image = "revenz/fileflows:latest"; image = "revenz/fileflows:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.homepage = { virtualisation.oci-containers.containers.homepage = {
image = "ghcr.io/benphelps/homepage:latest"; image = "ghcr.io/benphelps/homepage:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.hydra = { virtualisation.oci-containers.containers.hydra = {
image = "linuxserver/nzbhydra2:latest"; image = "linuxserver/nzbhydra2:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.jellyfin = { virtualisation.oci-containers.containers.jellyfin = {
image = "linuxserver/jellyfin:latest"; image = "linuxserver/jellyfin:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.jellyseerr = { virtualisation.oci-containers.containers.jellyseerr = {
image = "fallenbagel/jellyseerr:latest"; image = "fallenbagel/jellyseerr:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.portainer = { virtualisation.oci-containers.containers.portainer = {
image = "portainer/portainer-ce:latest"; image = "portainer/portainer-ce:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.prowlarr = { virtualisation.oci-containers.containers.prowlarr = {
image = "linuxserver/prowlarr:latest"; image = "linuxserver/prowlarr:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.radarr = { virtualisation.oci-containers.containers.radarr = {
image = "linuxserver/radarr:latest"; image = "linuxserver/radarr:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.sabnzbd = { virtualisation.oci-containers.containers.sabnzbd = {
image = "linuxserver/sabnzbd:latest"; image = "linuxserver/sabnzbd:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.sonarr = { virtualisation.oci-containers.containers.sonarr = {
image = "linuxserver/sonarr:latest"; image = "linuxserver/sonarr:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.stash = { virtualisation.oci-containers.containers.stash = {
image = "stashapp/stash:latest"; image = "stashapp/stash:latest";
autoStart = true; autoStart = true;

View File

@ -1,6 +1,9 @@
{config, lib, pkgs, ...}:
{ {
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.wireguard_vps = { virtualisation.oci-containers.containers.wireguard_vps = {
image = "linuxserver/wireguard:latest"; image = "linuxserver/wireguard:latest";
autoStart = true; autoStart = true;