add profiles/sshd.nix

This commit is contained in:
Peder Bergebakken Sundt 2023-07-04 16:28:27 +02:00
parent 2c36ef2724
commit 6dcd96551b
5 changed files with 8 additions and 16 deletions

View File

@ -9,6 +9,7 @@
./hardware-configuration.nix
../../hardware/opengl-intel.nix
../../profiles/auto-upgrade.nix
../../profiles/sshd.nix
../../users # home-manager
../../users/pbsds
@ -62,10 +63,6 @@
# TODO: remove? Move?
programs.dconf.enable = true;
# OpenSSH
services.openssh.enable = true;
services.openssh.settings.X11Forwarding = true;
# System fonts
# Nice to have when X-forwading on headless machines
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts

View File

@ -18,6 +18,7 @@
../../hardware/gpu/rocm.nix
../../hardware/gpu/intel.nix
../../profiles/auto-upgrade.nix
../../profiles/sshd.nix
../../users # home-manager
../../users/pbsds
@ -77,10 +78,6 @@
# TODO: remove? Move?
programs.dconf.enable = true;
# OpenSSH
services.openssh.enable = true;
services.openssh.settings.X11Forwarding = true;
# System fonts
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji

View File

@ -8,6 +8,7 @@
./hardware-configuration.nix
../../hardware/gpu/intel.nix
../../profiles/auto-upgrade.nix
../../profiles/sshd.nix
../../users # home-manager
../../users/pbsds
@ -140,10 +141,6 @@
# enableSSHSupport = true;
#};
# OpenSSH
services.openssh.enable = true;
services.openssh.settings.X11Forwarding = true;
# System fonts
# Nice to have when X-forwading on headless machines
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts

View File

@ -24,6 +24,7 @@
../../hardware/gpu/intel.nix
../../hardware/printer/hp-laserjet-p1005.nix
../../profiles/auto-upgrade.nix
../../profiles/sshd.nix
../../profiles/no-suspend.nix
../../users # home-manager
@ -105,10 +106,6 @@
# TODO: remove? Move?
programs.dconf.enable = true;
# OpenSSH
services.openssh.enable = true;
services.openssh.settings.X11Forwarding = true;
# System fonts
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji

4
profiles/sshd.nix Normal file
View File

@ -0,0 +1,4 @@
{
services.openssh.enable = true;
services.openssh.settings.X11Forwarding = true;
}