Reformat
This commit is contained in:
@ -1,29 +1,30 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
<home-manager/nixos>
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
<home-manager/nixos>
|
||||
|
||||
# Include Services
|
||||
./services/fileflows.nix
|
||||
./services/homepage.nix
|
||||
./services/hydra.nix
|
||||
./services/jellyfin.nix
|
||||
./services/jellyseerr.nix
|
||||
./services/portainer.nix
|
||||
./services/prowlarr.nix
|
||||
./services/radarr.nix
|
||||
./services/sabnzbd.nix
|
||||
./services/sonarr.nix
|
||||
./services/stash.nix
|
||||
./services/wireguard_vps.nix
|
||||
];
|
||||
# Include Services
|
||||
./services/fileflows.nix
|
||||
./services/homepage.nix
|
||||
./services/hydra.nix
|
||||
./services/jellyfin.nix
|
||||
./services/jellyseerr.nix
|
||||
./services/portainer.nix
|
||||
./services/prowlarr.nix
|
||||
./services/radarr.nix
|
||||
./services/sabnzbd.nix
|
||||
./services/sonarr.nix
|
||||
./services/stash.nix
|
||||
./services/wireguard_vps.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
boot = {
|
||||
@ -87,7 +88,7 @@
|
||||
packages = with pkgs; [];
|
||||
};
|
||||
|
||||
home-manager.users.christoph = { pkgs, ... }: {
|
||||
home-manager.users.christoph = {pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
lazygit
|
||||
keychain
|
||||
@ -142,7 +143,7 @@
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
wget
|
||||
helix
|
||||
git
|
||||
|
@ -1,53 +1,55 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
config,
|
||||
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.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/2d1b1f62-f008-4562-906e-5a63d854b18b";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
|
||||
"/media/Movie" = {
|
||||
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Movie";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
|
||||
"/media/Show" = {
|
||||
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Show";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
|
||||
"/media/Music" = {
|
||||
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Music";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
|
||||
"/media/Video" = {
|
||||
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Video";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
|
||||
"/media/Picture" = {
|
||||
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Picture";
|
||||
fsType = "nfs";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.NAME = {
|
||||
image = "";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.fileflows = {
|
||||
image = "revenz/fileflows:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.homepage = {
|
||||
image = "ghcr.io/benphelps/homepage:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.hydra = {
|
||||
image = "linuxserver/nzbhydra2:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.jellyfin = {
|
||||
image = "linuxserver/jellyfin:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.jellyseerr = {
|
||||
image = "fallenbagel/jellyseerr:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.portainer = {
|
||||
image = "portainer/portainer-ce:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.prowlarr = {
|
||||
image = "linuxserver/prowlarr:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.radarr = {
|
||||
image = "linuxserver/radarr:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.sabnzbd = {
|
||||
image = "linuxserver/sabnzbd:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.sonarr = {
|
||||
image = "linuxserver/sonarr:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.stash = {
|
||||
image = "stashapp/stash:latest";
|
||||
autoStart = true;
|
||||
|
@ -1,6 +1,9 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.wireguard_vps = {
|
||||
image = "linuxserver/wireguard:latest";
|
||||
autoStart = true;
|
||||
|
Reference in New Issue
Block a user