nixdots/hosts/kittykat/configuration.nix
2026-05-11 18:19:58 +03:00

38 lines
855 B
Nix

{
config,
lib,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
./disko.nix
../../modules/nixos/networking/ssh.nix
../../modules/nixos/users/tulg.nix
./home.nix
../../modules/servers/per-host/kittykat
../../modules/servers/common.nix
];
networking.hostName = "kittykat";
environment.systemPackages = with pkgs; [
nano
fastfetch
kitty
];
services.openssh = {
settings = {
AllowTcpForwarding = true;
X11Forwarding = true;
GatewayPorts = "yes";
PermitTunnel = "yes";
};
};
programs.bash.interactiveShellInit = ''
PS1="\[\e[38;5;177m\]\u\[\e[0m\]@\[\e[38;5;220m\]\h\[\e[0m\] \[\e[38;5;33m\]\w\[\e[0m\] \$ "
'';
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = ["nix-command" "flakes"];
system.stateVersion = "25.05";
}