infrastructure/nixos-configurations/lindberg-nextcloud/default.nix
Fabian Hauser 78afd3ecb7
Some checks failed
CI / build (push) Failing after 1m34s
CI / deploy (docs-ops.qo.is) (push) Has been skipped
CI / deploy (system-physical) (push) Has been skipped
CI / deploy (system-vm) (push) Has been skipped
Set system.stateVersion to 25.05
2025-06-29 19:55:32 +03:00

50 lines
1.3 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, ... }:
{
imports = [
./applications
./backup.nix
./secrets.nix
];
qois.system.virtual-machine.enable = true;
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = {
device = "/dev/disk/by-uuid/5b6823ec-921f-400a-a7c0-3fe34d56ae12";
fsType = "btrfs";
options = [ "subvol=root" ];
};
systemd.mounts = [
{
what = "data/nextcloud";
where = "/var/lib/nextcloud";
type = "virtiofs";
wantedBy = [ "multi-user.target" ];
enable = true;
}
];
networking.hostName = config.qois.meta.hosts.lindberg-nextcloud.hostName;
networking.useDHCP = false;
networking.interfaces.enp2s0.useDHCP = true;
qois.backplane-net.enable = true;
networking.firewall.allowedTCPPorts = [
80
443
];
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.05"; # Did you read the comment?
}