Formatted

This commit is contained in:
willifan 2025-01-05 00:48:46 +01:00
parent d73191e526
commit fbfa70195b
63 changed files with 906 additions and 899 deletions

View file

@ -5,17 +5,17 @@
enable = true;
virtualHosts = {
"https://git.huwe.mooo.com" = {
extraConfig = "reverse_proxy localhost:3000";
extraConfig = "reverse_proxy localhost:3000";
};
"https://files.huwe.mooo.com" = {
extraConfig = ''
root * /var/www/file_server
file_server
'';
'';
};
"https://cal.huwe.mooo.com" = {
extraConfig = "reverse_proxy localhost:5232";
extraConfig = "reverse_proxy localhost:5232";
};
};
};

View file

@ -1,14 +1,14 @@
{ ... }:
{
# environment.systemPackages = with pkgs; [
# mergerfs
# ];
# environment.systemPackages = with pkgs; [
# mergerfs
# ];
fileSystems."/mnt/data" = {
device = "/dev/disk/by-id/wwn-0x500a0751e6b6c60f-part1";
fsType = "btrfs";
options = [" noatime=true compress=zstd:12 "];
options = [ " noatime=true compress=zstd:12 " ];
};
}

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
{
services.forgejo = {
enable = true;
package = pkgs.forgejo;

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];

View file

@ -6,10 +6,10 @@
settings = {
db = {
user = lib.mkForce "invidious";
# password = lib.mkForce "invidious";
# host = lib.mkForce "localhost";
# port = 5432;
# dbname = lib.mkForce "invidious";
# password = lib.mkForce "invidious";
# host = lib.mkForce "localhost";
# port = 5432;
# dbname = lib.mkForce "invidious";
};
popular_enabled = false;

View file

@ -1,4 +1,4 @@
{ ...}:
{ ... }:
{
services.minecraft-server = {
eula = true;

View file

@ -7,9 +7,9 @@
governor = "powersave";
turbo = "never";
};
charger = {
governor = "powersave";
turbo = "never";
charger = {
governor = "powersave";
turbo = "never";
};
};
};

View file

@ -3,4 +3,4 @@
services.udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="intel_backlight", MODE="0666", RUN+="${pkgs.coreutils}/bin/chmod a+w /sys/class/backlight/%k/brightness"
'';
}
}

View file

@ -24,7 +24,7 @@
Anton = { id = "SIMFE5V-UHVQLHM-3ES7TAM-XIGP6TL-WCC37VY-B5ET6LJ-LPC2QIL-MYG4OQR"; };
};
};
hardware.bluetooth.enable = true;
services.hardware.bolt.enable = true;

View file

@ -64,4 +64,4 @@
};
};
};
}
}

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
@ -14,7 +15,8 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/e09e7d80-9d85-49e6-8b0e-1f31aea83840";
{
device = "/dev/disk/by-uuid/e09e7d80-9d85-49e6-8b0e-1f31aea83840";
fsType = "btrfs";
options = [ "subvol=@" ];
};
@ -22,7 +24,8 @@
boot.initrd.luks.devices."luks-a2f76baf-2f27-42a4-ae48-1963c566a9ab".device = "/dev/disk/by-uuid/a2f76baf-2f27-42a4-ae48-1963c566a9ab";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2A99-D7CC";
{
device = "/dev/disk/by-uuid/2A99-D7CC";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];

View file

@ -11,13 +11,13 @@
unzip
util-linux
gnugrep
readline.out
procps
pciutils
libpulseaudio
# SimpleDeckyTDP
# SimpleDeckyTDP
ryzenadj # actual TDP util
kmod # modprobe for acpi_call check
];

View file

@ -5,7 +5,7 @@
./disko.nix
../../modules/default
];
desktop = {

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];