Files
nix-config/osConfigs/hosts/desktop.nix
tomoron 390c6e3a3d
All checks were successful
update the nix flake lock automatically every week / update (push) Successful in 32s
desktop import stor on boot
2026-06-26 14:17:27 +02:00

50 lines
1.7 KiB
Nix

# **************************************************************************** #
# #
# ::: :::::::: #
# desktop.nix :+: :+: :+: #
# +:+ +:+ +:+ #
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/09/06 00:57:04 by tomoron #+# #+# #
# Updated: 2026/06/26 14:05:26 by tomoron ### ########.fr #
# #
# **************************************************************************** #
{ pkgs, ... }:
{
boot.kernelParams = [ "nvidia-drm-modset=1" ];
networking.hostName = "nixos-fixe";
hardware.cpu.intel.updateMicrocode = true;
mods.yubikey.pam.enable = true;
mods.nvidia.enable = true;
boot.kernelModules = [ "kvm-intel" "nvidia" ];
services.openssh.enable = true;
networking.hostId = "98e475dd";
mods.zfs.enable = true;
boot.zfs.forceImportRoot = false;
boot.zfs.extraPools = [ "stor" ];
mods.docker = {
enable = true;
boot = false;
};
users.users.sync = {
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIkVmIAJZewJVC6i1f39P7D36OPsdKqMNejALhBo92Td backup@server"
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIPy6ObpsitxHkRZzGbYdBpsBbR1YygtZOeClN2C/thu4AAAABHNzaDo= ssh:"
];
};
}