mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 02:46:06 -07:00
Compare commits
4 Commits
822d68f093
...
b89f92bb88
Author | SHA1 | Date | |
---|---|---|---|
b89f92bb88 | |||
3818cb7cc4 | |||
da8007642a | |||
1fde6ddeaf |
22
home/bin/executable_linux-tree-dir
Normal file
22
home/bin/executable_linux-tree-dir
Normal file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Check if the directory is provided
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <directory>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Function to print the tree with SHA256 sums
|
||||
print_tree_with_sha256() {
|
||||
local dir="$1"
|
||||
|
||||
# Use find to recursively list files, and calculate sha256sum for each file
|
||||
find "$dir" -type f | while read -r file; do
|
||||
sha256=$(sha256sum "$file" | awk '{print $1}')
|
||||
echo "$file - $sha256"
|
||||
done
|
||||
}
|
||||
|
||||
# Call the function with the provided directory
|
||||
print_tree_with_sha256 "$1"
|
||||
|
@ -8,8 +8,12 @@
|
||||
steam.desktopSession = "gnome";
|
||||
steam.enable = true;
|
||||
steam.user = "${user}";
|
||||
steam.autoStart = true;
|
||||
devices.steamdeck.enable = true;
|
||||
devices.steamdeck.autoUpdate = true;
|
||||
};
|
||||
|
||||
services.xserver.displayManager.gdm.enable = lib.mkForce false;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
jupiter-dock-updater-bin # Binary package for updating firmware on Jupiter Dock, a hardware accessory for certain laptops.
|
||||
|
@ -54,7 +54,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.11/latest.zip";
|
||||
hash = "sha256-aQ1cNFG6JCNrMz4N9uv6QRidjNwvyJqGunhwhJpvv4s=";
|
||||
hash = "sha256-HNNND8g9JyvrMjQxHq4udUtskGkqaISpq0TnzE2rb/U=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user