Remove comet

This commit is contained in:
Invariantspace 2025-05-28 01:49:54 -05:00
parent 1c2491d3c1
commit e16b11d924
Signed by: macronova
GPG key ID: CE969670FB4B4A56
8 changed files with 30 additions and 117 deletions

View file

@ -1,30 +0,0 @@
# 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).
{...}: {
# Configure boot loader
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
# Change secrets file
constants.sopsFile = ../../common/auths.yaml;
# Disable sudo password
security.sudo.wheelNeedsPassword = false;
# Set time zone.
time.timeZone = "Asia/Shanghai";
# Enable zram
zramSwap.enable = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
}

View file

@ -1,10 +0,0 @@
{inputs, ...}: {
imports = with inputs; [
hardware.nixosModules.common-cpu-intel
../../common
./configuration.nix
./hardware-configuration.nix
./network.nix
./tailscale.nix
];
}

View file

@ -1,41 +0,0 @@
# 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 + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "usbhid" "uas" "sd_mod" "sdhci_acpi"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/9f65c4b3-1c87-42a0-8c1d-f3c1ff2e71b1";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/1C5A-E5B5";
fsType = "vfat";
};
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
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -1,7 +0,0 @@
{...}: {
networking = {
hostId = "3ddd2ad2";
nftables.enable = true;
};
services.openssh.enable = true;
}

View file

@ -1,7 +0,0 @@
{...}: {
services.tailscale = {
enable = true;
port = 12765;
useRoutingFeatures = "both";
};
}

View file

@ -21,14 +21,19 @@ with config.constants; {
enable = true;
port = port.jellyseerr;
};
prowlarr.enable = true;
prowlarr = {
enable = true;
settings.server.port = port.prowlarr;
};
radarr = {
enable = true;
user = userName;
settings.server.port = port.radarr;
};
sonarr = {
enable = true;
user = userName;
settings.server.port = port.sonarr;
};
};