50 lines
993 B
Nix
50 lines
993 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../modules/base.nix
|
|
../modules/docker.nix
|
|
../modules/firewall.nix
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
networking.hostName = "cloud-pc";
|
|
|
|
fileSystems."/opt/data" = {
|
|
device = "/dev/disk/by-uuid/ae278333-4116-4225-9b95-595496fadd26";
|
|
fsType = "ext4";
|
|
options = [ "nofail" ];
|
|
};
|
|
|
|
fileSystems."/opt/samba" = {
|
|
device = "/dev/disk/by-uuid/89024d30-1ab6-4b2e-b23b-62837455b24a";
|
|
fsType = "ext4";
|
|
options = [ "nofail" ];
|
|
};
|
|
|
|
fileSystems."/mnt/backup" = {
|
|
device = "/dev/disk/by-uuid/940a9a4e-10cf-4380-9d22-a71549066561";
|
|
fsType = "ext4";
|
|
options = [ "nofail" ];
|
|
};
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
virtualisation.libvirtd = {
|
|
enable = true;
|
|
qemu = {
|
|
package = pkgs.qemu_kvm;
|
|
};
|
|
};
|
|
|
|
services.zerotierone = {
|
|
enable = true;
|
|
joinNetworks = [
|
|
"743993800fa5a34c"
|
|
];
|
|
};
|
|
|
|
system.stateVersion = "25.11";
|
|
}
|