up
This commit is contained in:
parent
0875e05f71
commit
8c44e6e6cc
7 changed files with 284 additions and 15 deletions
35
hosts/pirate/configuration.nix
Normal file
35
hosts/pirate/configuration.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./disko.nix
|
||||
./nixarr.nix
|
||||
../../modules/nixos/networking/ssh.nix
|
||||
../../modules/nixos/users/tulg.nix
|
||||
];
|
||||
|
||||
networking.hostName = "pirate";
|
||||
environment.systemPackages = with pkgs; [
|
||||
nano
|
||||
fastfetch
|
||||
kitty
|
||||
];
|
||||
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"];
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue