finish setup

This commit is contained in:
Kopatz
2024-06-23 19:48:16 +02:00
parent 507f34140d
commit 1006d768a0
27 changed files with 126 additions and 97 deletions

View File

@@ -6,6 +6,7 @@
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/services/ssh.nix
../../modules/services/step-ca.nix
../../modules/services/syncthing.nix
@@ -27,10 +28,6 @@
loader.timeout = lib.mkForce 1;
};
services.cloud-init = {
enable = true;
network.enable = true;
};
networking.firewall.allowedTCPPorts = [ 25565 ];
mainUser.layout = "de";
@@ -99,7 +96,7 @@
};
};
networking.hostName = "mini-pc"; # Define your hostname.
networking.hostName = "mini-pc-proxmox"; # Define your hostname.
# Set your time zone.
time.timeZone = "Europe/Vienna";

View File

@@ -0,0 +1,17 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
fileSystems."/data" =
{ device = "/dev/disk/by-uuid/d117419d-fce9-4d52-85c7-e3481feaa22a";
fsType = "btrfs";
options = [ "compress=zstd" "noatime" "nofail" ];
};
fileSystems."/1tbssd" =
{ device = "/dev/disk/by-uuid/801d9217-9c38-4ca8-914e-e31361603892";
fsType = "ext4";
options = ["defaults" "nofail" "noatime"];
};
}