Giter Site home page Giter Site logo

dotfiles's Introduction

dotfiles

Common configuration files across my machines.

These files apply to several machines:

  • Personal Laptop (OSX)
  • Work Laptop (OSX)
  • Personal Desktop (NixOS)

Dotfiles and most program installations are managed by the Nix package manager.

Installation

Run ./install.sh. This cross-platform script should set up anything relevant.

You may want to manually step through the install script yourself in case of failure.

Applying changes

After modifying a Nix configuration, run:

igm-system

This will apply your changes. It does not update Nixpkgs-- to do this read the next section.

Updating Nixpkgs and other upstream dependencies

First, update all Flake dependencies using:

igm-update

Then, to apply the changes, use the command:

igm-switch

Locking

Git artifacts must be deleted before generating the Flake lock files. Run this after committing:

git clean -fdX
nix flake lock --recreate-lock-file

Pushing to Cachix

To push the latest Darwin M1 configuration to Cachix, run:

cachix-push-m1-config

This is required because GitHub Actions does not have an aarch64-darwin runner.

License

MIT

dotfiles's People

Contributors

macalinao avatar dependabot[bot] avatar

Stargazers

daweth avatar sameer gupta avatar Nate Crisler avatar  avatar Alexey Elizarov avatar Nikita avatar Nikhil Kalige avatar Nikita Pekin avatar  avatar Brandon Le avatar Tyler Estes avatar Hays avatar Joseph Benden avatar Alexsey Ramzaev avatar Brett Neese avatar Hugo avatar netop://ウエハ avatar Edmund Miller avatar Victor Truong avatar Ivan Malison avatar Jorge Valdez avatar Dawson Botsford avatar Guanghui Chen avatar Suriyaa Sundararuban avatar  avatar

Watchers

 avatar

dotfiles's Issues

remove LaTeX

i literally never use this. At least use a smaller version than texlive-full.

remove bundles

I'm no longer a Vim user, so I should remove bundles that I don't need.

github cloner

Create a script/emacs command to clone any arbitrary github repository and open it up in emacs in a new workspace.

Consolidate shell files

It's kind of ridiculous to organize things by file to this level. I should just consolidate everything into 1-3 files.

BTRFS snapshotting/backup

I need to set up encrypted backup on my stuff. Everything important to me right now is kept in Git, but it's still probably good practice for me to be able to roll back updates to my computer. I also have several configs not in Git and/or not viable to put in Git, e.g. IM credentials, Google Chrome credentials, etc.

Options:

  • S3 backup via S3backer + LUKS
    • Pros: easy to manage, dev friendly
    • Cons: Expensive
  • Google One
    • Pros: Integration with other media, e.g. Google Photos
    • Cons: past 2TB this is just way too expensive
  • Buy an external HDD
    • Pros: Unlimited space, fixed cost
    • Cons: Data not save in case of disaster

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.