Skip to content

Instantly share code, notes, and snippets.

View Tombert's full-sized avatar

Thomas Gebert Tombert

View GitHub Profile
@Tombert
Tombert / flake.nix
Created June 16, 2024 18:01
Sonic Robo Blast 2 launcher
{
description = "Launch Sonic Robo Blast 2";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }: let
pkgs = import nixpkgs { system = "x86_64-linux"; };
srb2 = {
package org.example;
import java.util.ArrayList;
import java.util.Random;
public class Main {
public static ArrayList<Integer> createArray(Integer size) {
var r = new Random();
@Tombert
Tombert / configuration.nix
Last active February 27, 2025 22:25
My gaming nixos, nvidia graphics, Feb 2025
{ config, lib, pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
];
services.acpid.enable = true;
@Tombert
Tombert / config
Last active March 17, 2025 20:04
sway config
set $mod Mod4
input "type:touchpad" {
click_method clickfinger
}
input * {
xkb_options "lv3:ralt_alt,caps:escape"
}
{ config, lib, pkgs, ... }:
let
user = "tombert";
hostname = "puter";
in {
system.stateVersion = "24.05";
time = { timeZone = "America/New_York"; };
boot = {
{ config, lib, pkgs, ... }:
let
user = "tombert";
hostname = "puter";
in {
system.stateVersion = "24.05";
time = { timeZone = "America/New_York"; };
boot = {