mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
improve programming experience for nix
This commit is contained in:
parent
d0b3be617c
commit
5d3fbd35c9
@ -17,6 +17,7 @@ darwin.lib.darwinSystem {
|
||||
../../modules/darwin
|
||||
../../modules/applications/alacritty.nix
|
||||
../../modules/applications/discord.nix
|
||||
../../modules/programming/nix.nix
|
||||
../../modules/programming/terraform.nix
|
||||
../../modules/programming/lua.nix
|
||||
];
|
||||
|
8
modules/programming/nix.nix
Normal file
8
modules/programming/nix.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
home-manager.users.${config.user}.home.packages = with pkgs;
|
||||
[
|
||||
nixfmt # Nix file formatter
|
||||
];
|
||||
|
||||
}
|
@ -20,6 +20,7 @@ in {
|
||||
home-manager.users.root.programs.git = {
|
||||
enable = true;
|
||||
extraConfig.safe.directory = config.dotfilesPath;
|
||||
ignores = [ ".direnv/**" ];
|
||||
};
|
||||
|
||||
home-manager.users.${config.user} = {
|
||||
|
Loading…
Reference in New Issue
Block a user