From 252d9b5e2f67ae7c869c838be19791f2bf186ade Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Tue, 8 Oct 2024 07:57:28 +0200 Subject: [PATCH] buncha changes --- flake.nix | 17 +++++++++++++---- systems/th0nkpad-nixos/configuration.nix | 6 ------ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 33ad768..f339732 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ if builtins ? currentSystem then builtins.currentSystem else "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; + pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; installedPackages = (import ./installed-packages { inherit pkgs; }); in { @@ -51,16 +51,25 @@ packages = with pkgs; [ flatpak gnome-software + soundwireserver # thunderbird ]; }; + + # Open ports in the firewall. + networking.firewall.allowedTCPPorts = [ + 59010 #SoundWireServer + ]; + networking.firewall.allowedUDPPorts = [ + 59010 #SoundWireServer + ]; + # Or disable the firewall altogether. + # networking.firewall.enable = false; + # Install firefox. programs.firefox.enable = true; - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - # Set up system Packages environment.systemPackages = with pkgs; [ git diff --git a/systems/th0nkpad-nixos/configuration.nix b/systems/th0nkpad-nixos/configuration.nix index dfd4063..67cde09 100644 --- a/systems/th0nkpad-nixos/configuration.nix +++ b/systems/th0nkpad-nixos/configuration.nix @@ -99,12 +99,6 @@ # Enable the OpenSSH daemon. # services.openssh.enable = true; - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave