21 lines
507 B
Nix
21 lines
507 B
Nix
{pkgs, ...}: {
|
|
environment.systemPackages = with pkgs; [
|
|
nano
|
|
fastfetch
|
|
kitty
|
|
jdk17_headless
|
|
];
|
|
services.openssh = {
|
|
settings = {
|
|
AllowTcpForwarding = true;
|
|
X11Forwarding = true;
|
|
GatewayPorts = "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"];
|
|
}
|