buncha changes

This commit is contained in:
Andreas Schaafsma 2024-10-08 07:57:28 +02:00
parent d9f8c6ac3c
commit 252d9b5e2f
2 changed files with 13 additions and 10 deletions

View File

@ -11,7 +11,7 @@
if builtins ? currentSystem if builtins ? currentSystem
then builtins.currentSystem then builtins.currentSystem
else "x86_64-linux"; else "x86_64-linux";
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; config.allowUnfree = true; };
installedPackages = (import ./installed-packages { inherit pkgs; }); installedPackages = (import ./installed-packages { inherit pkgs; });
in in
{ {
@ -51,16 +51,25 @@
packages = with pkgs; [ packages = with pkgs; [
flatpak flatpak
gnome-software gnome-software
soundwireserver
# thunderbird # 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. # Install firefox.
programs.firefox.enable = true; programs.firefox.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Set up system Packages # Set up system Packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git

View File

@ -99,12 +99,6 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # 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 # 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
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave