pluh 🗣
This commit is contained in:
parent
3ad9944baa
commit
668140531b
59 changed files with 985 additions and 219 deletions
9
hosts/headful/flamingo/filesystems.nix
Normal file
9
hosts/headful/flamingo/filesystems.nix
Normal 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"];
|
||||
};
|
||||
}
|
9
hosts/headful/glacier/filesystems.nix
Normal file
9
hosts/headful/glacier/filesystems.nix
Normal 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"];
|
||||
};
|
||||
}
|
3
hosts/headful/glacier/lanzaboote.nix
Normal file
3
hosts/headful/glacier/lanzaboote.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
setups.secureBoot.enable = true;
|
||||
}
|
9
hosts/headful/work/filesystems.nix
Normal file
9
hosts/headful/work/filesystems.nix
Normal 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"];
|
||||
};
|
||||
}
|
5
hosts/headless/abacus/authorized-keys.nix
Normal file
5
hosts/headless/abacus/authorized-keys.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{config, ...}: {
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
config.pubkeys.hosts.vessel
|
||||
];
|
||||
}
|
14
hosts/headless/abacus/filesystems.nix
Normal file
14
hosts/headless/abacus/filesystems.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{config, ...}: {
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
fsType = "ext4";
|
||||
label = "main";
|
||||
options = ["noatime"];
|
||||
};
|
||||
${config.services.navidrome.settings.MusicFolder} = {
|
||||
label = "music";
|
||||
fsType = "ext4";
|
||||
options = ["noatime"];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{config, ...}: {
|
||||
fileSystems.${config.services.navidrome.settings.MusicFolder} = {
|
||||
label = "music";
|
||||
fsType = "ext4";
|
||||
options = ["noatime"];
|
||||
};
|
||||
}
|
|
@ -1,5 +1,7 @@
|
|||
{modulesPath, ...}: {
|
||||
imports = ["${modulesPath}/profiles/qemu-guest.nix"];
|
||||
imports = [
|
||||
"${modulesPath}/profiles/qemu-guest.nix"
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
|
||||
|
|
14
hosts/headless/vessel/filesystems.nix
Normal file
14
hosts/headless/vessel/filesystems.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
fsType = "ext4";
|
||||
label = "main";
|
||||
options = ["noatime"];
|
||||
};
|
||||
"/srv/backup" = {
|
||||
label = "backup";
|
||||
fsType = "ext4";
|
||||
options = ["noatime"];
|
||||
};
|
||||
};
|
||||
}
|
5
hosts/kiosk/insomniac/dolphin.nix
Normal file
5
hosts/kiosk/insomniac/dolphin.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
services.flatpak.packages = [
|
||||
"org.DolphinEmu.dolphin-emu"
|
||||
];
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
fileSystems."/srv/backup" = {
|
||||
label = "backup";
|
||||
fileSystems."/" = {
|
||||
fsType = "ext4";
|
||||
label = "main";
|
||||
options = ["noatime"];
|
||||
};
|
||||
}
|
5
hosts/kiosk/insomniac/firefox.nix
Normal file
5
hosts/kiosk/insomniac/firefox.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
services.flatpak.packages = [
|
||||
"org.mozilla.firefox"
|
||||
];
|
||||
}
|
5
hosts/kiosk/insomniac/freetube.nix
Normal file
5
hosts/kiosk/insomniac/freetube.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
services.flatpak.packages = [
|
||||
"io.freetubeapp.FreeTube"
|
||||
];
|
||||
}
|
25
hosts/kiosk/insomniac/hardware.nix
Normal file
25
hosts/kiosk/insomniac/hardware.nix
Normal 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";
|
||||
}
|
5
hosts/kiosk/insomniac/rmg.nix
Normal file
5
hosts/kiosk/insomniac/rmg.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
services.flatpak.packages = [
|
||||
"com.github.Rosalie241.RMG"
|
||||
];
|
||||
}
|
5
hosts/kiosk/insomniac/steam.nix
Normal file
5
hosts/kiosk/insomniac/steam.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
services.flatpak.packages = [
|
||||
"com.valvesoftware.Steam"
|
||||
];
|
||||
}
|
3
hosts/kiosk/insomniac/system.nix
Normal file
3
hosts/kiosk/insomniac/system.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
system.stateVersion = "24.11";
|
||||
}
|
12
hosts/kiosk/insomniac/users.nix
Normal file
12
hosts/kiosk/insomniac/users.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (config.users) mainUser;
|
||||
in {
|
||||
users = {
|
||||
mainUser = lib.mkForce "user";
|
||||
users.${mainUser}.description = lib.mkForce "User";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue