grimm-nixos-laptop/specific/grimm-nixos-server-2/configuration.nix
2025-01-15 14:00:13 +01:00

20 lines
673 B
Nix

{ pkgs, lib, ... }: {
imports = [
./hardware-configuration.nix
];
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;
users.users.root.openssh.authorizedKeys.keys = [''sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIMgGKExPve3tsl0/kjV5rCo5wb46CapnUaA1ZdZWpgXTAAAAC3NzaDpnZW5lcmFs grimmauld@grimm-nixos-ssd'' ];
system.stateVersion = "23.11";
}