41 lines
957 B
Nix
41 lines
957 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
|
|
|
|
./syncthing.nix
|
|
# ../../common/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";
|
|
}
|