remove drag machine

This commit is contained in:
TheWanderingCrow 2026-03-23 13:54:17 -04:00
parent 81706fca9f
commit b268fcdb24
12 changed files with 0 additions and 397 deletions

View file

@ -1,39 +0,0 @@
{
config,
...
}:
{
# Restic secrets
sops.secrets = {
"restic/hetzner-dragneel/url" = { };
"restic/hetzner-dragneel/key" = { };
};
services.restic.backups = {
hetzner-dragneel = {
initialize = true;
user = "root";
timerConfig = {
OnCalendar = "daily";
Persistent = true;
};
extraOptions = [
"sftp.args='-i /etc/ssh/ssh_host_ed25519_key -p 23'"
];
repositoryFile = config.sops.secrets."restic/hetzner-dragneel/url".path;
passwordFile = config.sops.secrets."restic/hetzner-dragneel/key".path;
paths = [
"/home/drag"
];
exclude = [
"/var/cache"
"/home/*/.cache"
".git"
".nix-profile"
"/nix/*"
".local/share/Steam"
".steam"
];
};
};
}

View file

@ -1,98 +0,0 @@
######################
# #
# Dragneel - Desktop #
# #
######################
{
config,
inputs,
lib,
pkgs,
...
}:
{
imports = lib.flatten [
# Hardware
./hardware-configuration.nix # I want to use factor if possible
./backups.nix
# Disks
inputs.disko.nixosModules.disko
(lib.custom.relativeToRoot "hosts/common/disks/btrfs-disk.nix")
{
_module.args = {
disk = "/dev/nvme0n1";
withSwap = true;
swapSize = "8";
};
}
# Misc
(map lib.custom.relativeToRoot [
# Required configs
"hosts/common/core"
# Optional configs
"hosts/common/optional/audio.nix"
"hosts/common/optional/bluetooth.nix"
"hosts/common/optional/pentesting.nix"
"hosts/common/optional/gaming.nix"
"hosts/common/optional/printing.nix"
])
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hostSpec = {
username = "drag";
handle = "drag";
hostName = "Dragneel";
persistFolder = "/persist";
};
# Enable the KDE Plasma Desktop Environment.
services.displayManager = {
autoLogin = {
enable = true;
user = config.hostSpec.username;
};
sddm = {
enable = true;
wayland.enable = true;
};
};
services.desktopManager.plasma6.enable = true;
networking = {
networkmanager.enable = true;
enableIPv6 = false;
interfaces.enp3s0 = {
wakeOnLan.enable = true;
};
};
boot.loader = {
limine = {
enable = true;
efiSupport = true;
};
efi = {
canTouchEfiVariables = true;
};
};
services.unifi = {
enable = true;
openFirewall = true;
unifiPackage = pkgs.unstable.unifi;
mongodbPackage = pkgs.mongodb-7_0;
};
services.caddy = {
enable = true;
virtualHosts."dragneel.local".extraConfig = ''
reverse_proxy localhost:8080
'';
};
}

View file

@ -1,23 +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 = ["sg" "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.graphics.enable = true;
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia.open = true;
}