add nftables to pc
This commit is contained in:
@@ -119,16 +119,15 @@
|
|||||||
./modules/hardware/nvidia.nix
|
./modules/hardware/nvidia.nix
|
||||||
./modules/hardware/ssd.nix
|
./modules/hardware/ssd.nix
|
||||||
./modules/hardware/firmware.nix
|
./modules/hardware/firmware.nix
|
||||||
#./modules/hardware/scheduler.nix
|
./modules/kernel.nix # use latest kernel
|
||||||
# use latest kernel
|
|
||||||
./modules/kernel.nix
|
|
||||||
./modules/cli-tools.nix
|
|
||||||
./modules/nix/settings.nix
|
./modules/nix/settings.nix
|
||||||
./modules/nix/index.nix
|
./modules/nix/index.nix
|
||||||
./modules/nix/ld.nix
|
./modules/nix/ld.nix
|
||||||
|
./modules/cli-tools.nix
|
||||||
./modules/gpg.nix
|
./modules/gpg.nix
|
||||||
./modules/virt-manager.nix
|
#./modules/virt-manager.nix dont need atm
|
||||||
./modules/flatpak.nix
|
./modules/flatpak.nix
|
||||||
|
./modules/nftables.nix
|
||||||
./modules/noise-supression.nix
|
./modules/noise-supression.nix
|
||||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||||
./modules/wooting.nix
|
./modules/wooting.nix
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
ll = "ls -l";
|
ll = "ls -l";
|
||||||
update = "sudo nixos-rebuild switch";
|
update = "sudo nixos-rebuild switch";
|
||||||
updateOffline = "sudo nixos-rebuild switch --option substitute false";
|
updateOffline = "sudo nixos-rebuild switch --option substitute false";
|
||||||
|
checkTime = "(cd ~/Nextcloud/work_drive/TS && nix run)";
|
||||||
};
|
};
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
4
modules/graphical/docker.nix
Normal file
4
modules/graphical/docker.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
### docker
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
}
|
||||||
@@ -73,6 +73,5 @@ in
|
|||||||
# DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
|
# DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
|
||||||
#};
|
#};
|
||||||
|
|
||||||
### docker
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
3
modules/nftables.nix
Normal file
3
modules/nftables.nix
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
networking.nftables.enable = true;
|
||||||
|
}
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
nix.settings.trusted-public-keys = [ "ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc=" ];
|
nix.settings.trusted-public-keys = [ "ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc=" ];
|
||||||
|
|
||||||
#disable firewall when doing ipv6 vm stuff
|
#disable firewall when doing ipv6 vm stuff
|
||||||
networking.firewall.enable = lib.mkForce false;
|
#networking.firewall.enable = lib.mkForce false;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Vienna";
|
time.timeZone = "Europe/Vienna";
|
||||||
|
|||||||
Reference in New Issue
Block a user