This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# --------------------------- | |
# This is a bash script for configuring Arch for pro audio USING PIPEWIRE. | |
# --------------------------- | |
# NOTE: Execute this script by running the following command on your system: | |
# wget -O ~/install-audio.sh https://raw.githubusercontent.com/brendaningram/linux-audio-setup-scripts/main/arch/install-audio.sh && chmod +x ~/install-audio.sh && ~/install-audio.sh | |
# Exit if any command fails | |
set -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi | |
fonts_pkgs=( | |
ttf-jetbrains-mono-nerd | |
ttf-roboto | |
ttf-hack | |
ttf-hack-nerd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
error_exit() { | |
echo "$1" > /dev/stderr | |
exit 1 | |
} | |
HOSTNAME="Mayuri" | |
core_pkgs=( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export dev_pkgs=( | |
rustup | |
gcc | |
python | |
ruff | |
zig | |
zls | |
uv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These settings were set by the catalyst build script that automatically | |
# built this stage. | |
# Please consult /usr/share/portage/config/make.conf.example for a more | |
# detailed example. | |
COMMON_FLAGS="-march=native -O2 -pipe" | |
CFLAGS="${COMMON_FLAGS}" | |
CXXFLAGS="${COMMON_FLAGS}" | |
FCFLAGS="${COMMON_FLAGS}" | |
FFLAGS="${COMMON_FLAGS}" | |
MAKEOPTS="-j8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#define sos(x) std::cout << x << std::endl | |
class Entity { | |
private: | |
int m_x, m_y; | |
char *m_name; | |
// the mutable members is allowed to be modified in a const functions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# /etc/pacman.conf | |
# | |
# See the pacman.conf(5) manpage for option and repository directives | |
# | |
# GENERAL OPTIONS | |
# | |
[options] | |
# The following paths are commented out with their default values listed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "NextJS Template"; | |
inputs = { | |
nixpkgs.url = "nixpkgs"; | |
systems.url = "github:nix-systems/x86_64-linux"; | |
utils = { | |
url = "github:numtide/flake-utils"; | |
inputs.systems.follows = "systems"; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, pkgs, ... }: | |
{ | |
home.packages = with pkgs; [ delta ]; | |
programs.git = { | |
enable = true; | |
userName = "0x61nas"; | |
userEmail = "[email protected]"; | |
ignores = [ "*~" ]; | |
signing = { | |
#signByDefault = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, pkgs, config, ... }: | |
{ | |
services.gpg-agent = { | |
enable = true; | |
enableSshSupport = true; | |
# Cache the PIN for 3 hours | |
defaultCacheTtl = 3600*3; | |
#grabKeyboardAndMouse = false; | |
#pinentryPackage = pkgs.pinentry; | |
}; |
NewerOlder