networking
This commit is contained in:
@@ -77,21 +77,6 @@ in {
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
|
||||
# Networking
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
hostName = "cnix";
|
||||
nftables.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
interfaces = {
|
||||
"enp7s0" = {
|
||||
allowedTCPPorts = [22 80 443];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
FLAKE = "/home/cnst/.nix-config";
|
||||
};
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# core
|
||||
../../core/fonts.nix
|
||||
../../core/hyprland.nix
|
||||
../../core/networking.nix
|
||||
../../core/zsh.nix
|
||||
|
||||
# hardware
|
||||
@@ -17,14 +18,14 @@
|
||||
../../services/gnome-keyring.nix
|
||||
../../services/greetd.nix
|
||||
../../services/gvfs.nix
|
||||
../../services/locate.nix
|
||||
../../services/mullvad.nix
|
||||
../../services/openssh.nix
|
||||
../../services/pipewire.nix
|
||||
../../services/udisks.nix
|
||||
../../services/xserver-cnix.nix
|
||||
../../services/locate.nix
|
||||
../../services/power.nix
|
||||
../../services/samba.nix
|
||||
../../services/udisks.nix
|
||||
../../services/xserver-cnix.nix
|
||||
|
||||
# extra
|
||||
../../extra/gaming.nix
|
||||
|
||||
Reference in New Issue
Block a user