Week 08 of 2026

Development log of BiebOS

3 items
  1. Install GS connect
  2. Open TCPPortRange
  3. Move hardware configuration import to flake.nix

Install GS connect

On by jewiet

Open TCP ports

index 2b5b4ba..dcbac19 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -124,6 +124,11 @@
=  # Install firefox.
=  programs.firefox.enable = true;
=
+  programs.kdeconnect = {
+  enable = true;
+  package = pkgs.gnomeExtensions.gsconnect;
+};
+
=  # List packages installed in system profile. To search, run:
=  # $ nix search wget
=  environment.systemPackages = with pkgs; [
@@ -149,7 +154,10 @@
=  # services.openssh.enable = true;
=
=  # Open ports in the firewall.
-  # networking.firewall.allowedTCPPorts = [ ... ];
+   networking.firewall.allowedTCPPorts = [ 
+    # KDE Connect
+    { from = 1714; to = 1764; }
+];
=  # networking.firewall.allowedUDPPorts = [ ... ];
=  # Or disable the firewall altogether.
=  # networking.firewall.enable = false;

Open TCPPortRange

On by jewiet

index dcbac19..173a687 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -124,10 +124,8 @@
=  # Install firefox.
=  programs.firefox.enable = true;
=
-  programs.kdeconnect = {
-  enable = true;
-  package = pkgs.gnomeExtensions.gsconnect;
-};
+  # Install kdeconnect.
+  programs.kdeconnect.enable = true; 
=
=  # List packages installed in system profile. To search, run:
=  # $ nix search wget
@@ -138,6 +136,7 @@
=    httpie
=    jq
=    emacs
+    gnomeExtensions.gsconnect
=  ];
=
=  # Some programs need SUID wrappers, can be configured further or are
@@ -154,7 +153,7 @@
=  # services.openssh.enable = true;
=
=  # Open ports in the firewall.
-   networking.firewall.allowedTCPPorts = [ 
+   networking.firewall.allowedTCPPortRanges = [ 
=    # KDE Connect
=    { from = 1714; to = 1764; }
=];

Move hardware configuration import to flake.nix

On by Tad Lispy

So it's easier to make configurations targetting different hardware, as discussed in https://codeberg.org/foss-for-normies/BiebOS/issues/12

index 173a687..d1d2f8d 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -11,11 +11,6 @@
=    '';
=  };
=
-  imports =
-    [ # Include the results of the hardware scan.
-      ./hardware-configuration.nix
-    ];
-
=  # Bootloader.
=  boot.loader.systemd-boot.enable = true;
=  boot.loader.efi.canTouchEfiVariables = true;
@@ -130,7 +125,7 @@
=  # List packages installed in system profile. To search, run:
=  # $ nix search wget
=  environment.systemPackages = with pkgs; [
-    neovim 
+    neovim
=    git
=    bat
=    httpie
index dcf358d..91d289d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,6 +13,7 @@
=    nixosConfigurations.bieb = nixpkgs.lib.nixosSystem {
=      inherit system pkgs;
=      modules = [
+        ./hardware-configuration.nix # Include the results of the hardware scan.
=        ./configuration.nix
=        ./guest-session.nix
=        ./flatpak.nix