Skip to content

Red-Flake/tuxedo-nixos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuxedo Control Center for NixOS


Overview

This repository provides a Nix derivation for the Tuxedo Control Center until it is packaged in Nixpkgs (see NixOS/nixpkgs#132206).

Tuxedo is a German laptop manufacturer that provides Linux-friendly laptops. Their system control is done via an app called "Tuxedo Control Center" (TCC). This open source app provides fan control settings among other things. Without this app, the Tuxedo laptops default to very noisy fan control settings. It lives on Github.


Usage

To enable Tuxedo Control Center, add the module from this repository to your /etc/nixos/configuration.nix.


Option 1: Stable Nix

{ config, pkgs, ... }:
let
  tuxedo = import (builtins.fetchTarball "https://github.com/Red-Flake/tuxedo-nixos/archive/master.tar.gz");
in {

 # ...

 imports = [
   tuxedo.outputs.nixosModules.default
 ];

 nixpkgs.overlays = [ tuxedo.outputs.overlays.default ];

 hardware.tuxedo-control-center.enable = true;
}

Option 2: Nix Flake

This repository is a Nix Flake. As such, it exports its module in a way that makes it somewhat convenient to use in your Flakes-enabled NixOS configuration.


First enable the module in your flake.nix:

{
  inputs = {
	nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";

	# ...

	tuxedo-nixos.url = "github:Red-Flake/tuxedo-nixos";
  };

  outputs = { self, nixpkgs, tuxedo-nixos }: {
	nixosConfigurations = {
	  your-system = nixpkgs.lib.nixosSystem {

	  # ...

	  modules = [
		./configuration.nix
		tuxedo-nixos.nixosModules.default

		# ...
	  ];

	  # ...

	  };
	};
  };
}

Then enable the module in configuration.nix:

  hardware.tuxedo-control-center.enable = true;

Updating

To update to a new version, see the updating instructions.

About

Tuxedo Control Center Derivation and Module for NixOS

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Nix 99.9%
  • Shell 0.1%