mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-28 19:22:24 +00:00
Compare commits
No commits in common. "9ebdfa1071b0f71c9955f8a23851e25ced878154" and "962515c10edfff34e4b4a4c5bfe712ec0b55f09c" have entirely different histories.
9ebdfa1071
...
962515c10e
7
.github/workflows/arrow-aws.yml
vendored
7
.github/workflows/arrow-aws.yml
vendored
@ -91,16 +91,15 @@ jobs:
|
|||||||
# Connects to remote state backend and download providers.
|
# Connects to remote state backend and download providers.
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
working-directory: ${{ env.TERRAFORM_DIRECTORY }}
|
working-directory: ${{ env.TERRAFORM_DIRECTORY }}
|
||||||
run: |
|
run: terraform init
|
||||||
terraform init \
|
|
||||||
-backend-config="bucket=${{ secrets.TERRAFORM_STATE_BUCKET }}" \
|
|
||||||
-backend-config="key=arrow.tfstate"
|
|
||||||
|
|
||||||
# Deploys infrastructure or changes to infrastructure.
|
# Deploys infrastructure or changes to infrastructure.
|
||||||
- name: Terraform Apply
|
- name: Terraform Apply
|
||||||
if: inputs.action == 'create'
|
if: inputs.action == 'create'
|
||||||
working-directory: ${{ env.TERRAFORM_DIRECTORY }}
|
working-directory: ${{ env.TERRAFORM_DIRECTORY }}
|
||||||
env:
|
env:
|
||||||
|
TF_VAR_terraform_state_bucket: ${{ secrets.TERRAFORM_STATE_BUCKET }}
|
||||||
|
TF_VAR_terraform_state_key: arrow.tfstate
|
||||||
TF_VAR_ec2_size: ${{ inputs.size }}
|
TF_VAR_ec2_size: ${{ inputs.size }}
|
||||||
run: |
|
run: |
|
||||||
terraform apply \
|
terraform apply \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
terraform {
|
terraform {
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
|
bucket = var.terraform_state_bucket
|
||||||
|
key = var.terraform_state_key
|
||||||
region = "us-east-1"
|
region = "us-east-1"
|
||||||
dynamodb_table = "terraform-state-lock"
|
dynamodb_table = "terraform-state-lock"
|
||||||
}
|
}
|
||||||
|
@ -8,3 +8,13 @@ variable "images_bucket" {
|
|||||||
description = "Name of the bucket in which to store the NixOS VM images."
|
description = "Name of the bucket in which to store the NixOS VM images."
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "terraform_state_bucket" {
|
||||||
|
description = "Name of the bucket in which to store the Terraform state information."
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "terraform_state_key" {
|
||||||
|
description = "Path of the file in which to store the Terraform state information."
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
piper # Mouse adjustments GUI
|
piper # Mouse adjustments GUI
|
||||||
];
|
];
|
||||||
|
|
||||||
services.libinput.mouse = {
|
services.xserver.libinput.mouse = {
|
||||||
# Disable mouse acceleration
|
# Disable mouse acceleration
|
||||||
accelProfile = "flat";
|
accelProfile = "flat";
|
||||||
accelSpeed = "1.15";
|
accelSpeed = "1.15";
|
||||||
|
@ -2,17 +2,16 @@ _final: prev: {
|
|||||||
|
|
||||||
gh-collaborators = prev.buildGoModule rec {
|
gh-collaborators = prev.buildGoModule rec {
|
||||||
pname = "gh-collaborators";
|
pname = "gh-collaborators";
|
||||||
version = "v2.0.3";
|
version = "2.0.2";
|
||||||
|
|
||||||
src = prev.fetchFromGitHub {
|
src = prev.fetchFromGitHub {
|
||||||
owner = "nmasur";
|
owner = "katiem0";
|
||||||
repo = "gh-collaborators";
|
repo = "gh-collaborators";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-XgAZ/+7QxIRKiAZ4Gp/rLgTABSXkVjFQ8TbXOFj9vpM=";
|
sha256 = "sha256-sz5LHkwZ28aA2vbMnFMzAlyGiJBDZm7jwDQYxgKBPLU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# vendorHash = "sha256-rsRDOgJBa8T6+bC/APcmuRmg6ykbIp9pwRnJ9rrfHEs=";
|
vendorHash = "sha256-rsRDOgJBa8T6+bC/APcmuRmg6ykbIp9pwRnJ9rrfHEs=";
|
||||||
vendorHash = "sha256-fykxRb2U9DDsXorRTLiVWmhMY89N7RS07sal8ww6gz4=";
|
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user