Reformat
This commit is contained in:
@ -1,29 +1,30 @@
|
|||||||
# 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,
|
||||||
./hardware-configuration.nix
|
...
|
||||||
<home-manager/nixos>
|
}: {
|
||||||
|
imports = [
|
||||||
|
# Include the results of the hardware scan.
|
||||||
|
./hardware-configuration.nix
|
||||||
|
<home-manager/nixos>
|
||||||
|
|
||||||
# Include Services
|
# Include Services
|
||||||
./services/fileflows.nix
|
./services/fileflows.nix
|
||||||
./services/homepage.nix
|
./services/homepage.nix
|
||||||
./services/hydra.nix
|
./services/hydra.nix
|
||||||
./services/jellyfin.nix
|
./services/jellyfin.nix
|
||||||
./services/jellyseerr.nix
|
./services/jellyseerr.nix
|
||||||
./services/portainer.nix
|
./services/portainer.nix
|
||||||
./services/prowlarr.nix
|
./services/prowlarr.nix
|
||||||
./services/radarr.nix
|
./services/radarr.nix
|
||||||
./services/sabnzbd.nix
|
./services/sabnzbd.nix
|
||||||
./services/sonarr.nix
|
./services/sonarr.nix
|
||||||
./services/stash.nix
|
./services/stash.nix
|
||||||
./services/wireguard_vps.nix
|
./services/wireguard_vps.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot = {
|
boot = {
|
||||||
@ -87,7 +88,7 @@
|
|||||||
packages = with pkgs; [];
|
packages = with pkgs; [];
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.christoph = { pkgs, ... }: {
|
home-manager.users.christoph = {pkgs, ...}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
lazygit
|
lazygit
|
||||||
keychain
|
keychain
|
||||||
@ -142,7 +143,7 @@
|
|||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
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
|
wget
|
||||||
helix
|
helix
|
||||||
git
|
git
|
||||||
|
|||||||
@ -1,17 +1,21 @@
|
|||||||
# 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"];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = ["kvm-intel"];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
@ -45,9 +49,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (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 = {
|
virtualisation.oci-containers.containers.NAME = {
|
||||||
image = "";
|
image = "";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user