Git Product home page Git Product logo

dotfiles's Introduction

Dotfiles

My personal config files for NixOS, doom-emacs, and so on.

I wouldn't recommend using these files, unless you're me.

Installation

cd dotfiles
nixos-rebuild --flake .

dotfiles's People

Contributors

jonathanreeve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dotfiles's Issues

Using strings as .source considered harmful ๐Ÿ™‚

Hi, came here from the reddit thread and noticed you in some cases are using strings as file source. For example

dotfiles/dotfiles/home.nix

Lines 358 to 360 in 77e45eb

"sxhkd/sxhkdrc".source = "${dots}/sxhkdrc";
"polybar/config".source = "${dots}/polybar";
"bspwm/bspwmrc".source = "${dots}/bspwmrc";

This may not be what you want, in most cases you'd want this to be a Nix path literal since only then will the file be copied to the Nix store and immutability maintained. Right now, if you run, for example,

$ readlink ~/.config/sxhkd/sxhkdrc

I suspect you'll find that it is a symbolic link to the file within your Git repo. So editing the file in the repo will change the "live" configuration as well.

If instead you change the code line to read

"sxhkd/sxhkdrc".source = ./sxhkdrc;

and rerun the readlink command it should show a file within the Nix store and this file's content will be immutable.

API key in config files

Hey, I clicked to browse this repo through your issue report in doom-emacs but I noticed that in your configs you've got biblio-bibsonomy-api-key value.

Should this key maybe be made private / not present in dotfiles?

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.