-
Notifications
You must be signed in to change notification settings - Fork 0
/
files.nix
30 lines (26 loc) · 1004 Bytes
/
files.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ ... }:
{
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {
# Building this configuration will create a copy of 'dotfiles/screenrc' in
# the Nix store. Activating the configuration will then make '~/.screenrc' a
# symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# Git setup
".gitignore".source = ./git/gitignore;
".gitconfig".source = ./git/gitconfig;
".gitconfig_perso".source = ./git/gitconfig_perso;
".gitconfig_toward".source = ./git/gitconfig_toward;
# Bash
".bashrc".source = ./bash/bashrc;
".bash_aliases".source = ./bash/bash_aliases;
# Fish setup
# "./.config/fish/functions/fish_prompt.fish".source = ./fish/fish_prompt.fish;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
}