Warning

Page under construction

GLF OS exists in two branches, the stable branch and the testing branch. It is possible to switch between the two fairly easily.

Switching from Stable to Testing

1. Open the file /etc/nixos/flake.nix

2. Select all the content and delete it.

3. Copy and paste the contents of the flake below instead.

{
description = "GLF-OS ISO Configuration - Installer Evaluation Flake";

inputs = {
 glf-channels.url = "git+https://framagit.org/gaming-linux-fr/glf-os/channels-glfos/testing-channels.git?ref=main"; #Repos responsable de la bascule d'une stable à une autre
 nixpkgs.follows = "glf-channels/nixpkgs";
 nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
 glf.url = "git+https://framagit.org/gaming-linux-fr/glf-os/glf-os.git?ref=testing"; # Référence le flake racine
};

outputs =
 {
   nixpkgs,
   nixpkgs-unstable,
   glf,
   self,
   ...
 }: 

 let
   system = "x86_64-linux"; 

   # Configuration pour le nixpkgs stable (sera le 'pkgs' par défaut)
   pkgsStable = import nixpkgs {
     inherit system;
     config.allowUnfree = true;
   };

   # Configuration pour le nixpkgs unstable (sera passé en argument spécial)
   pkgsUnstable = import nixpkgs-unstable {
     inherit system;
     config.allowUnfree = true;
   };
 in
 {
   nixosConfigurations."GLF-OS" = nixpkgs.lib.nixosSystem {
     inherit system; # Maintenant 'system' est défini
     pkgs = pkgsStable; 
     modules = [
       ./configuration.nix 
       glf.nixosModules.default 
     ];

     specialArgs = {
       pkgs-unstable = pkgsUnstable; 
     };
   };
 };
}

4. Save the content with ctrl+s

5. In the terminal, enter the command glf-update

6. Restart the computer

7. You are on GLF OS Testing


Switching from Testing to Stable

1. Open the file /etc/nixos/flake.nix

2. Select all the content and delete it.

3. Copy and paste the contents of the flake below instead.

{
  description = "GLF-OS ISO Configuration - Installer Evaluation Flake";
  
  inputs = {
    glf-channels.url = "git+https://framagit.org/gaming-linux-fr/glf-os/channels-glfos/glf-os-channels.git?ref=main"; #Repos responsable de la bascule d'une stable à une autre
    nixpkgs.follows = "glf-channels/nixpkgs";
    nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
    glf.url = "git+https://framagit.org/gaming-linux-fr/glf-os/glf-os.git?ref=main"; # Référence le flake racine
  };

  outputs =
    {
      nixpkgs,
      nixpkgs-unstable,
      glf,
      self,
      ...
    }: 

    let
      system = "x86_64-linux"; 

      # Configuration pour le nixpkgs stable (sera le 'pkgs' par défaut)
      pkgsStable = import nixpkgs {
        inherit system;
        config.allowUnfree = true;
      };

      # Configuration pour le nixpkgs unstable (sera passé en argument spécial)
      pkgsUnstable = import nixpkgs-unstable {
        inherit system;
        config.allowUnfree = true;
      };
    in
    {
      nixosConfigurations."GLF-OS" = nixpkgs.lib.nixosSystem {
        inherit system; # Maintenant 'system' est défini
        pkgs = pkgsStable; 
        modules = [
          ./configuration.nix 
          glf.nixosModules.default 
        ];

        specialArgs = {
          pkgs-unstable = pkgsUnstable; 
        };
      };
    };
}

4. Save the content with ctrl+s

5. In the terminal, enter the command glf-update

6. Restart the computer

7. You are on GLF OS Stable



🌐 www.gaminglinux.frDiscord-Symbol-Blurple Discord GLF


© 2025 GLF