bye, firewall!

Signed-off-by: Alex Stan <90788596+Ultra980@users.noreply.github.com>
This commit is contained in:
Alex Stan 2023-09-15 18:30:51 +03:00
parent b853d361e4
commit 4055d74bf7
2 changed files with 16 additions and 21 deletions

View file

@ -57,22 +57,20 @@ in {
LC_TIME = "ro_RO.UTF-8"; LC_TIME = "ro_RO.UTF-8";
}; };
# Enable the X11 windowing system. services = {
services.xserver.enable = true; xserver = {
enable = true;
# Enable the GNOME Desktop Environment. displayManager.gdm.enable = true;
services.xserver.displayManager.gdm.enable = true; desktopManager.gnome.enable = true;
services.xserver.desktopManager.gnome.enable = true; layout = "ro";
qt.platformTheme = lib.mkForce "gnome"; xkbVariant = "";
libinput.enable = true;
# Configure keymap in X11 };
services.xserver = { flatpak.enable = true;
layout = "ro"; printing.enable = true;
xkbVariant = ""; openssh.enable = true;
}; };
qt.platformTheme = lib.mkForce "gnome";
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
@ -91,9 +89,6 @@ in {
#media-session.enable = true; #media-session.enable = true;
}; };
# Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.ultra = { users.users.ultra = {
isNormalUser = true; isNormalUser = true;
@ -135,6 +130,7 @@ in {
bibata-cursors bibata-cursors
adw-gtk3 adw-gtk3
virt-manager virt-manager
gnome.gnome-software
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
@ -147,14 +143,12 @@ in {
# List services that you want to enable: # List services that you want to enable:
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; networking.firewall.enable = false;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions

View file

@ -151,6 +151,7 @@ in {
lite lite
comma comma
heroic heroic
steam-run
]; ];
}; };