Develop edison, standardize home-manager

This commit is contained in:
2023-09-15 00:21:07 +02:00
committed by Felix Albrigtsen
parent a0693ca9fc
commit acc446dfa3
11 changed files with 92 additions and 191 deletions

View File

@@ -5,8 +5,7 @@
, ...
}: {
imports = [
./neovim.nix
./zsh.nix
./../../home/base.nix
];
home.packages = with pkgs; [
@@ -27,33 +26,7 @@
vscode
];
programs.git = {
enable = true;
extraConfig = {
pull.rebase = true;
push.autoSetupRemote = true;
color.ui = "auto";
init.defaultBranch = "main";
lfs.enable = true;
user = {
name = "Felix Albrigtsen";
email = "felix@albrigtsen.it";
};
};
ignores = [
"*~"
"*.swp"
".DS_Store"
".vscode"
];
};
programs.nix-index = {
enable = true;
enableZshIntegration = true;
};
programs.zsh.shellAliases."rebuild" = "darwin-rebuild switch --flake /Users/felixalb/nix";
# Copy Applications to ~/Applications to allow them to be launched from Spotlight
disabledModules = [ "targets/darwin/linkapps.nix" ];