adding trantor; upgrading stable to 25.05

This commit is contained in:
William 2025-06-01 16:43:41 -03:00
parent 58c5ddd075
commit 37558060f4
8 changed files with 174 additions and 11 deletions

View file

@ -9,7 +9,7 @@
services = {
nextcloud = {
enable = true;
package = pkgs.nextcloud30;
package = pkgs.nextcloud31;
datadir = "/data/nextcloud";
hostName = "cloud.baduhai.dev";
configureRedis = true;

View file

@ -0,0 +1,8 @@
{ ... }:
{
boot = {
loader.efi.efiSysMountPoint = "/boot";
initrd.systemd.enable = true;
};
}

View file

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./boot.nix
./disko.nix
./hardware-configuration.nix
];
}

View file

@ -0,0 +1,32 @@
{
disko.devices = {
disk = {
main = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
boot = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}

View file

@ -0,0 +1,27 @@
{
lib,
modulesPath,
...
}:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot = {
kernelModules = [ ];
extraModulePackages = [ ];
initrd = {
availableKernelModules = [
"xhci_pci"
"virtio_pci"
"virtio_scsi"
"usbhid"
];
kernelModules = [ ];
};
};
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}