buncha changes
This commit is contained in:
17
flake.nix
17
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
|
||||
|
||||
Reference in New Issue
Block a user