1
0
Fork 0

pluh 🗣

This commit is contained in:
Lukas Wurzinger 2025-03-01 22:21:00 +01:00
parent 3ad9944baa
commit 668140531b
No known key found for this signature in database
59 changed files with 985 additions and 219 deletions

View file

@ -0,0 +1,9 @@
{
boot.initrd.luks.devices.main.device = "/dev/disk/by-label/cryptmain";
fileSystems."/" = {
fsType = "ext4";
device = "/dev/mapper/main";
options = ["noatime"];
};
}

View file

@ -0,0 +1,9 @@
{
boot.initrd.luks.devices.main.device = "/dev/disk/by-label/cryptmain";
fileSystems."/" = {
fsType = "ext4";
device = "/dev/mapper/main";
options = ["noatime"];
};
}

View file

@ -0,0 +1,3 @@
{
setups.secureBoot.enable = true;
}

View file

@ -0,0 +1,9 @@
{
boot.initrd.luks.devices.main.device = "/dev/disk/by-label/cryptmain";
fileSystems."/" = {
fsType = "ext4";
device = "/dev/mapper/main";
options = ["noatime"];
};
}

View file

@ -0,0 +1,5 @@
{config, ...}: {
users.users.root.openssh.authorizedKeys.keys = [
config.pubkeys.hosts.vessel
];
}

View file

@ -0,0 +1,14 @@
{config, ...}: {
fileSystems = {
"/" = {
fsType = "ext4";
label = "main";
options = ["noatime"];
};
${config.services.navidrome.settings.MusicFolder} = {
label = "music";
fsType = "ext4";
options = ["noatime"];
};
};
}

View file

@ -1,7 +0,0 @@
{config, ...}: {
fileSystems.${config.services.navidrome.settings.MusicFolder} = {
label = "music";
fsType = "ext4";
options = ["noatime"];
};
}

View file

@ -1,5 +1,7 @@
{modulesPath, ...}: {
imports = ["${modulesPath}/profiles/qemu-guest.nix"];
imports = [
"${modulesPath}/profiles/qemu-guest.nix"
];
nixpkgs.hostPlatform = "aarch64-linux";

View file

@ -0,0 +1,14 @@
{
fileSystems = {
"/" = {
fsType = "ext4";
label = "main";
options = ["noatime"];
};
"/srv/backup" = {
label = "backup";
fsType = "ext4";
options = ["noatime"];
};
};
}

View file

@ -0,0 +1,5 @@
{
services.flatpak.packages = [
"org.DolphinEmu.dolphin-emu"
];
}

View file

@ -1,7 +1,7 @@
{
fileSystems."/srv/backup" = {
label = "backup";
fileSystems."/" = {
fsType = "ext4";
label = "main";
options = ["noatime"];
};
}

View file

@ -0,0 +1,5 @@
{
services.flatpak.packages = [
"org.mozilla.firefox"
];
}

View file

@ -0,0 +1,5 @@
{
services.flatpak.packages = [
"io.freetubeapp.FreeTube"
];
}

View file

@ -0,0 +1,25 @@
{
inputs,
modulesPath,
...
}: {
imports = [
"${modulesPath}/installer/scan/not-detected.nix"
inputs.hardware.nixosModules.common-cpu-amd
inputs.hardware.nixosModules.common-gpu-amd
inputs.hardware.nixosModules.common-pc-ssd
];
nixpkgs.hostPlatform = "x86_64-linux";
boot = {
initrd = {
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod"];
kernelModules = ["amdgpu"];
};
kernelModules = ["kvm-amd"];
};
powerManagement.cpuFreqGovernor = "performance";
}

View file

@ -0,0 +1,5 @@
{
services.flatpak.packages = [
"com.github.Rosalie241.RMG"
];
}

View file

@ -0,0 +1,5 @@
{
services.flatpak.packages = [
"com.valvesoftware.Steam"
];
}

View file

@ -0,0 +1,3 @@
{
system.stateVersion = "24.11";
}

View file

@ -0,0 +1,12 @@
{
config,
lib,
...
}: let
inherit (config.users) mainUser;
in {
users = {
mainUser = lib.mkForce "user";
users.${mainUser}.description = lib.mkForce "User";
};
}