Yes I'm npub1l3dgvd8pvmmg44ztrerh7w30eve5dnqvxpupewkxnrtryjfx3xkqt60jfd in Nostr
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
| { | |
| "layer": "top", | |
| "position": "top", | |
| // Choose the order of the modules | |
| "modules-left": [ | |
| // "hyprland/workspaces", | |
| "niri/workspaces", | |
| "custom/right-arrow-dark" | |
| ], |
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
| input { | |
| keyboard { | |
| xkb { | |
| layout "es" | |
| } | |
| } | |
| touchpad { | |
| tap | |
| natural-scroll | |
| accel-speed 0.5 |
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 = "Basic flake for the dev environment of indie"; | |
| inputs = { | |
| nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | |
| }; | |
| outputs = { self, nixpkgs }: | |
| let |
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
| # On Nixos running this from the project folder with nix-shell will create a shell with all the necessary dependencies | |
| # and run postgresql in an ephemeral mode for development. | |
| { pkgs ? import <nixpkgs> {} }: | |
| pkgs.mkShell { | |
| nativeBuildInputs = with pkgs; [ | |
| elixir_1_18 | |
| elixir-ls | |
| erlang | |
| rebar3 |
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
| # On Nixos running this from the project folder with nix-shell will create a shell with all the necessary dependencies | |
| # and run postgresql in an ephemeral mode for development. | |
| { pkgs ? import <nixpkgs> {} }: | |
| pkgs.mkShell { | |
| nativeBuildInputs = with pkgs; [ | |
| elixir_1_18 | |
| elixir-ls | |
| erlang | |
| rebar3 |
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 ? import <nixpkgs> {} }: | |
| pkgs.mkShell { | |
| name = "indie"; | |
| nativeBuildInputs = with pkgs; [ | |
| elixir_1_18 | |
| erlang | |
| rebar3 | |
| nodejs | |
| yarn |
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
| # Variables | |
| MIX_ENV=prod | |
| APP_NAME=experiment | |
| BUILD_DIR=_build | |
| SERVER_USER=ubuntu | |
| SECRET_KEY_BASE=$(shell mix phx.gen.secret) | |
| ENV_FILE=.env | |
| RELEASE_DIR=$(BUILD_DIR)/$(MIX_ENV)/rel/$(APP_NAME) | |
| PHX_HOST="maikeladas.es" | |
| PORT=4001 |
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
| function code | |
| # Determine the path to the code command | |
| set path_is (command -v code) | |
| # Check if the system is on battery | |
| if is_on_battery | |
| # Ask the user if they are sure they want to open VSCode | |
| if ask_sure | |
| # User confirmed; open VSCode with the provided argument | |
| $path_is $argv |
NewerOlder