This file contains hidden or 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 | |
| if [ ! -f $1 ]; then | |
| echo "Error: $1 is not existing file path." | |
| exit 1 | |
| fi | |
| lines=$(cat cluster/config/cluster-settings.yaml | yq '.data | ... comments=""';\ | |
| sops --decrypt cluster/config/cluster-secrets.enc.yaml | yq '.stringData | ... comments=""') |
This file contains hidden or 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
| # .tfstate files | |
| *.tfstate | |
| *.tfstate.* | |
| # do not ignore encrypted tfstate files, with .enc inside | |
| !*.enc.tfstate | |
| !*.enc.tfstate.* | |
| # unless it is decrypted | |
| *.decrypted*tfstate |
This file contains hidden or 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
| {pkgs, ...}: { | |
| services.udev.enable = true; | |
| services.udev.extraRules = '' | |
| # Your rule goes here | |
| KERNEL=="uinput", GROUP="input", MODE="0660", OPTIONS+="static_node=uinput" | |
| ''; | |
| security.wrappers = { | |
| sunshine = { | |
| source = "${pkgs.sunshine}/bin/sunshine"; |
This file contains hidden or 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
| nix build .#nixosConfigurations.machineIso.config.system.build.isoImage | |
| ls result/iso/ | |
| # nixos-23.05.20231106.41de143-x86_64-linux.iso |
This file contains hidden or 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
| ! Reddit app ad | |
| www.reddit.com##.XPromoPopupRpl | |
| www.reddit.com##xpromo-new-app-selector | |
| www.reddit.com##.bottom-bar, .XPromoBottomBar | |
| www.reddit.com##.useApp,.TopNav__promoButton | |
| www.reddit.com##body:style(pointer-events:auto!important;) | |
| www.reddit.com##body:style(overflow: auto !important; position: static !important;) |
This file contains hidden or 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
| { | |
| outputs = { self, nixpkgs }: { | |
| defaultPackage.x86_64-linux = self.packages.x86_64-linux.opengamepadui; | |
| packages.x86_64-linux.opengamepadui = | |
| let | |
| pkgs = import nixpkgs { system = "x86_64-linux"; }; | |
| src = pkgs.fetchFromGitHub { | |
| owner = "ShadowBlip"; | |
| repo = "OpenGamepadUI"; |
This file contains hidden or 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 = "Minimal Python + Textual dev shell (all systems)"; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = { self, nixpkgs, flake-utils }: | |
| flake-utils.lib.eachDefaultSystem (system: |
OlderNewer