Compare commits
No commits in common. "1f4ce3887eb07b0d14025d165e1eff4b5e261912" and "b79ea69c3dee9f08d5830ac69c2c823af5ddd1d9" have entirely different histories.
1f4ce3887e
...
b79ea69c3d
3 changed files with 46 additions and 67 deletions
|
|
@ -1,30 +1,19 @@
|
||||||
# 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, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
modulesPath,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||||
"xhci_pci"
|
|
||||||
"nvme"
|
|
||||||
"usb_storage"
|
|
||||||
"sd_mod"
|
|
||||||
"sdhci_pci"
|
|
||||||
];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" =
|
||||||
device = "tmpfs";
|
{ device = "tmpfs";
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
options = [
|
options = [
|
||||||
"defaults"
|
"defaults"
|
||||||
|
|
@ -39,45 +28,31 @@
|
||||||
options = [ "umask=0077" ];
|
options = [ "umask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/persist/data" = {
|
fileSystems."/persist/data" =
|
||||||
device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
|
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
options = [
|
options = [ "subvol=@data" "noatime" "compress=zstd" ];
|
||||||
"subvol=@data"
|
|
||||||
"noatime"
|
|
||||||
"compress=zstd"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/persist/cache" = {
|
fileSystems."/persist/cache" =
|
||||||
device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
|
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
options = [
|
options = [ "subvol=@cache" "noatime" "compress=zstd" ];
|
||||||
"subvol=@cache"
|
|
||||||
"noatime"
|
|
||||||
"compress=zstd"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nix" = {
|
fileSystems."/nix" =
|
||||||
device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
|
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [
|
neededForBoot = true;
|
||||||
"subvol=@nix"
|
options = [ "subvol=@nix" "noatime" "compress=zstd" ];
|
||||||
"noatime"
|
|
||||||
"compress=zstd"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/swap" = {
|
fileSystems."/swap" =
|
||||||
device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
|
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [
|
options = [ "subvol=@swap" "noatime" ];
|
||||||
"subvol=@swap"
|
|
||||||
"noatime"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@
|
||||||
fileSystems."/nix" = {
|
fileSystems."/nix" = {
|
||||||
device = "/dev/disk/by-uuid/5dbe939d-54a5-4092-b9c6-83f6bd4cf925";
|
device = "/dev/disk/by-uuid/5dbe939d-54a5-4092-b9c6-83f6bd4cf925";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
neededForBoot = true;
|
||||||
options = [
|
options = [
|
||||||
"noatime"
|
"noatime"
|
||||||
"compress=zstd"
|
"compress=zstd"
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,10 @@
|
||||||
|
|
||||||
virtualisation.oci-containers.containers."chaptarr" = {
|
virtualisation.oci-containers.containers."chaptarr" = {
|
||||||
image = "robertlordhood/chaptarr:latest";
|
image = "robertlordhood/chaptarr:latest";
|
||||||
volumes = [ "/data:/data" ];
|
volumes = [
|
||||||
|
"config:/config"
|
||||||
|
"/data:/data"
|
||||||
|
];
|
||||||
environment = {
|
environment = {
|
||||||
"PUID" = "994";
|
"PUID" = "994";
|
||||||
"GUID" = "994";
|
"GUID" = "994";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue