nixos/home.nix

35 lines
No EOL
851 B
Nix

{ config, pkgs, ... }:
{
home.username = "florian";
home.homeDirectory = "/home/florian";
# link the configuration file in current directory to the specified location in home directory
# home.file.".config/i3/wallpaper.jpg".source = ./wallpaper.jpg;
# link all files in `./scripts` to `~/.config/i3/scripts`
# home.file.".config/i3/scripts" = {
# source = ./scripts;
# recursive = true; # link recursively
# executable = true; # make all files executable
# };
# encode the file content in nix configuration file directly
# home.file.".xxx".text = ''
# xxx
# '';
programs.git = {
enable = true;
userName = "Florian RICHER";
userEmail = "florian.richer@protonmail.com";
};
home.packages = with pkgs; [
vim
];
home.stateVersion = "23.05";
programs.home-manager.enable = true;
}