finish setup
This commit is contained in:
@@ -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";
|
||||
|
||||
17
systems/mini-pc-proxmox/hardware-configuration.nix
Normal file
17
systems/mini-pc-proxmox/hardware-configuration.nix
Normal 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"];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user