pocket accept cors

This commit is contained in:
BOTAlex 2025-10-04 02:23:05 +02:00
parent e70aee4ab6
commit 134fe2e279
10 changed files with 320 additions and 219 deletions

View file

@ -1,27 +1,13 @@
# 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,
...
}:
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.availableKernelModules =
[ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
@ -34,38 +20,50 @@
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/1DC7-70A2";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/mnt/stolenFromSister" = {
device = "/dev/disk/by-uuid/8f2c41c0-84bb-40ee-a3f8-b1bbd378d5d7";
fsType = "ext4"; # or "btrfs", "xfs", etc.
options = [ "nofail" "x-systemd.automount"]; # don't block boot if the disk is missing
fsType = "ext4"; # or "btrfs", "xfs", etc.
options = [
"nofail"
"x-systemd.automount"
]; # don't block boot if the disk is missing
};
fileSystems."/mnt/OtherStolenDriveFromSister" = {
device = "/dev/disk/by-uuid/fc16759c-24fc-46d6-99fe-865068605f46";
fsType = "ext4"; # or "btrfs", "xfs", etc.
options = [ "nofail" "x-systemd.automount"]; # don't block boot if the disk is missing
fsType = "ext4"; # or "btrfs", "xfs", etc.
options = [
"nofail"
"x-systemd.automount"
]; # don't block boot if the disk is missing
};
fileSystems."/mnt/disk3" = {
device = "/dev/disk/by-partuuid/54084a5e-2c7f-4ec9-8ee7-9ede76c79f40";
fsType = "ext4";
options = [ "nofail" "x-systemd.automount" ];
};
fileSystems."/mnt/disk4" = {
device = "/dev/disk/by-partuuid/9df16012-ef2f-4091-aa24-632d98e6be51";
fsType = "ext4";
options = [ "nofail" "x-systemd.automount" ];
};
# fileSystems."/mnt/disk5" = {
# device = "/dev/disk/by-partuuid/3610155d-6d3d-4be1-9e50-7a638ccbf98c";
# fsType = "ext4";
# options = [ "nofail" "x-systemd.automount" ];
# };
systemd.tmpfiles.rules = [
"d /mnt/stolenFromSister/jelly/ 0755 starr starr -"
"d /mnt/OtherStolenDriveFromSister/downloads/ 0755 starr starr -"
];
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@ -77,5 +75,6 @@
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}