przystosowanie konfiguracji pod siebie
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ profile, ... }: {
|
||||
{ profile, ... }:
|
||||
{
|
||||
# Services to start
|
||||
services = {
|
||||
libinput.enable = true; # Input Handling
|
||||
@@ -8,7 +9,7 @@
|
||||
enable = true; # Enable SSH
|
||||
settings = {
|
||||
PermitRootLogin = "no"; # Prevent root from SSH login
|
||||
PasswordAuthentication = true; #Users can SSH using kb and password
|
||||
PasswordAuthentication = true; # Users can SSH using kb and password
|
||||
KbdInteractiveAuthentication = true;
|
||||
};
|
||||
ports = [ 22 ];
|
||||
@@ -18,10 +19,7 @@
|
||||
gnome.gnome-keyring.enable = true;
|
||||
|
||||
smartd = {
|
||||
enable =
|
||||
if profile == "vm"
|
||||
then false
|
||||
else true;
|
||||
enable = if profile == "vm" then false else true;
|
||||
autodetect = true;
|
||||
};
|
||||
pipewire = {
|
||||
|
||||
Reference in New Issue
Block a user