diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-10-20T21·37+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-10-20T22·05+0200 |
commit | 106ca2094072a516a8df820d9c31a9be6bbbc75c (patch) | |
tree | d97b0c8e3ac656993313c4c0ff88669d44bb9516 /dotfiles.nix | |
parent | 7fe75e01386f24385ae9ccc624e3d8561df8bcbb (diff) |
feat(dotfiles): Add fish-shell & tmux configuration
Diffstat (limited to 'dotfiles.nix')
-rw-r--r-- | dotfiles.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/dotfiles.nix b/dotfiles.nix index 8ba5f976f76e..e999bc2bc1b4 100644 --- a/dotfiles.nix +++ b/dotfiles.nix @@ -12,20 +12,16 @@ let dotfiles = pkgs.stdenv.mkDerivation { ]; installPhase = '' - mkdir -p $out/dotfiles - cp ./* $out/dotfiles/ + mkdir -p $out + cp ./* $out/ ''; }; in { # /etc/ is a special place in NixOS! # Symlinks that need to be created there must be specified explicitly. environment.etc = { - "i3/config" = { - source = "${dotfiles}/dotfiles/i3.conf"; - # Setting a mode causes Nix to copy the file instead of symlinking it. - # For i3 config in particular this is desirable because I want to be able - # to modify and reload it before committing a change. - mode = "0644"; - }; + "i3/config".source = "${dotfiles}/i3.conf"; + "tmux.conf".source = "${dotfiles}/tmux.conf"; + "fish/foreign-env/tazjin".source = "${dotfiles}/config.fish"; }; } |