2024-08-29 03:26:04 +02:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
pkgs,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
2024-08-08 23:44:25 +02:00
|
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
|
|
2024-08-09 02:44:54 +02:00
|
|
|
|
./hardware-configuration
|
2024-08-08 23:44:25 +02:00
|
|
|
|
#./tinc.nix
|
|
|
|
|
#./syncthing.nix
|
2024-08-09 16:07:11 +02:00
|
|
|
|
./network-wireguard-wg0.nix
|
2024-08-08 23:44:25 +02:00
|
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
2024-08-09 16:27:15 +02:00
|
|
|
|
components.gui.enable = true;
|
2024-08-11 00:02:11 +02:00
|
|
|
|
components.gui.wayland.enable = false;
|
|
|
|
|
components.gui.xorg.enable = true;
|
2024-08-09 02:44:54 +02:00
|
|
|
|
components.mainUser.enable = true;
|
2024-08-11 00:02:11 +02:00
|
|
|
|
components.network.enable = true;
|
|
|
|
|
components.network.wifi.enable = true;
|
|
|
|
|
components.terminal.enable = true;
|
2024-08-08 23:44:25 +02:00
|
|
|
|
|
|
|
|
|
networking.hostName = "usbstick";
|
|
|
|
|
|
|
|
|
|
# Set your time zone.
|
2024-08-11 00:02:11 +02:00
|
|
|
|
#time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
2024-08-08 23:44:25 +02:00
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
|
|
# 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. It‘s 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 = "22.05"; # Did you read the comment?
|
|
|
|
|
|
|
|
|
|
}
|