Compare commits
2 commits
b79ea69c3d
...
1f4ce3887e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f4ce3887e | ||
|
|
8797449080 |
3 changed files with 67 additions and 46 deletions
|
|
@ -1,61 +1,86 @@
|
||||||
# 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 =
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
boot.initrd.availableKernelModules = [
|
||||||
|
"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"
|
||||||
"size=100%"
|
"size=100%"
|
||||||
"mode=755"
|
"mode=755"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-uuid/3DFB-F4BF";
|
device = "/dev/disk/by-uuid/3DFB-F4BF";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
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 = [ "subvol=@data" "noatime" "compress=zstd" ];
|
options = [
|
||||||
};
|
"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 = [ "subvol=@cache" "noatime" "compress=zstd" ];
|
options = [
|
||||||
};
|
"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";
|
||||||
neededForBoot = true;
|
options = [
|
||||||
options = [ "subvol=@nix" "noatime" "compress=zstd" ];
|
"subvol=@nix"
|
||||||
};
|
"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 = [ "subvol=@swap" "noatime" ];
|
options = [
|
||||||
};
|
"subvol=@swap"
|
||||||
|
"noatime"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
device = "/swap/swapfile";
|
device = "/swap/swapfile";
|
||||||
priority = 0;
|
priority = 0;
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@
|
||||||
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,10 +50,7 @@
|
||||||
|
|
||||||
virtualisation.oci-containers.containers."chaptarr" = {
|
virtualisation.oci-containers.containers."chaptarr" = {
|
||||||
image = "robertlordhood/chaptarr:latest";
|
image = "robertlordhood/chaptarr:latest";
|
||||||
volumes = [
|
volumes = [ "/data:/data" ];
|
||||||
"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