nixos-config/hosts/stuff/configuration.nix

41 lines
976 B
Nix
Raw Normal View History

2024-04-08 20:32:17 +02:00
{pkgs, ...}: {
imports = [
./hardware-configuration.nix
../../common/default.nix
../../common/locales/fr.nix
../../common/locales/fr-keymap.nix
../../common/hardware/intelcpu.nix
../../common/de/plasma5.nix
2024-04-08 21:28:07 +02:00
../../common/packages/syncthing.nix
# ../../common/packages/adguardhome.nix
2024-04-08 20:32:17 +02:00
];
users.users.user = {
isNormalUser = true;
description = "User";
2024-04-17 20:39:12 +02:00
extraGroups = ["networkmanager" "wheel" "syncthing"];
2024-04-08 20:32:17 +02:00
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
# TODO: Add your SSH public key(s) here, if you plan on using SSH to connect
];
};
networking = {
hostName = "stuff";
firewall.enable = true;
#firewall.allowedTCPPorts = [ ];
#firewall.allowedUDPPorts = [ ];
};
environment.systemPackages = with pkgs; [
# Additional system packages here
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";
}