homeserver i guess
This commit is contained in:
parent
8c44e6e6cc
commit
bf6e9e680e
8 changed files with 76 additions and 45 deletions
21
modules/servers/common.nix
Normal file
21
modules/servers/common.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{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"];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue