grimm-nixos-laptop/specific/grimm-nixos-server-2/configuration.nix

24 lines
676 B
Nix
Raw Normal View History

2025-01-26 21:43:23 +01:00
{ pkgs, lib, ... }:
{
2025-01-15 14:00:13 +01:00
imports = [
2025-01-26 21:43:23 +01:00
./hardware-configuration.nix
2025-01-15 14:00:13 +01:00
];
environment.systemPackages = with pkgs; [
helix
];
programs.git.enable = true;
programs.nh.flake = lib.mkForce "/home/grimmauld/grimm-nixos-laptop";
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
networking.hostName = "grimm-nixos-server-2";
networking.domain = "grimmauld.de";
services.openssh.enable = true;
2025-01-26 21:43:23 +01:00
users.users.root.openssh.authorizedKeys.keys = [
''sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIMgGKExPve3tsl0/kjV5rCo5wb46CapnUaA1ZdZWpgXTAAAAC3NzaDpnZW5lcmFs grimmauld@grimm-nixos-ssd''
];
2025-01-15 14:00:13 +01:00
system.stateVersion = "23.11";
}