nixos-config/hosts/stuff/configuration.nix

39 lines
929 B
Nix
Raw Normal View History

2024-04-22 05:51:31 +02:00
{pkgs, ...}: let
sshKeys = import ../../crypto/ssh-keys.nix;
in {
2024-04-08 20:32:17 +02:00
imports = [
./hardware-configuration.nix
../../common/default.nix
../../common/locales/fr.nix
../../common/locales/fr-keymap.nix
2024-04-22 05:51:31 +02:00
../../common/hardware/intel-cpu.nix
2024-04-22 04:57:27 +02:00
../../common/hardware/ssd.nix
../../common/hardware/btrfs.nix
2024-04-08 20:32:17 +02:00
../../common/de/plasma5.nix
2024-04-08 21:28:07 +02:00
../../common/packages/syncthing.nix
2024-04-22 04:57:27 +02:00
../../common/packages/sshd.nix
2024-04-08 20:32:17 +02:00
];
2024-04-22 05:51:31 +02:00
networking.hostName = "stuff";
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 = [
2024-04-22 05:51:31 +02:00
sshKeys.new-new-phoenix.tasia
2024-04-08 20:32:17 +02:00
];
};
environment.systemPackages = with pkgs; [
# Additional system packages here
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";
}