nixos-config/hosts/stuff/configuration.nix
2024-04-08 21:28:07 +02:00

41 lines
986 B
Nix

{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
../../common/packages/syncthing.nix
# ../../common/packages/adguardhome.nix
];
users.users.user = {
isNormalUser = true;
description = "User";
extraGroups = ["networkmanager" "wheel" "dialout" "syncthing"];
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";
}