New MBP
This commit is contained in:
parent
41f890fabb
commit
d2d1c4d5a7
3 changed files with 22 additions and 5 deletions
|
@ -21,7 +21,7 @@
|
|||
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
||||
homeConfigurations = {
|
||||
daniel = home-manager.lib.homeManagerConfiguration {
|
||||
system = "x86_64-darwin";
|
||||
system = "aarch64-darwin";
|
||||
homeDirectory = "/Users/daniel";
|
||||
username = "daniel";
|
||||
stateVersion = "21.11";
|
||||
|
|
|
@ -54,6 +54,9 @@
|
|||
};
|
||||
|
||||
shellInit = ''
|
||||
# Disable greeting
|
||||
set fish_greeting
|
||||
|
||||
if test -e "$HOME/.cache/fish/nix_path_value"
|
||||
set -gx NIX_PATH (cat "$HOME/.cache/fish/nix_path_value")
|
||||
end
|
||||
|
@ -77,13 +80,14 @@
|
|||
end
|
||||
|
||||
# Vendor Configuration
|
||||
if test -d "$HOME/.nix-profile/share/fish/vendor_conf.d"
|
||||
for vendor_conf in $HOME/.nix-profile/share/fish/vendor_conf.d/*.fish
|
||||
for vendor_conf in \
|
||||
"$HOME/.nix-profile/share/fish/vendor_conf.d/direnv.fish"
|
||||
|
||||
if test -f "$vendor_conf"
|
||||
source "$vendor_conf"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
# Custom Scripts
|
||||
if test -d "$HOME/.config/fish/custom-scripts"
|
||||
for custom_script in $HOME/.config/fish/custom-scripts/*.fish
|
||||
|
|
|
@ -1,7 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
customPlugins = import ./plugins.nix { inherit pkgs; };
|
||||
|
||||
nvim-spell-de-utf8-dictionary = builtins.fetchurl {
|
||||
url = "http://ftp.vim.org/pub/vim/runtime/spell/de.utf-8.spl";
|
||||
sha256 = "73c7107ea339856cdbe921deb92a45939c4de6eb9c07261da1b9dd19f683a3d1";
|
||||
};
|
||||
|
||||
nvim-spell-de-utf8-suggestions = builtins.fetchurl {
|
||||
url = "http://ftp.vim.org/pub/vim/runtime/spell/de.utf-8.sug";
|
||||
sha256 = "13d0ecf92863d89ef60cd4a8a5eb2a5a13a0e8f9ba8d1c6abe47aba85714a948";
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.neovim = {
|
||||
|
@ -123,4 +133,7 @@ in
|
|||
source = ../../config/nvim;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
home.file."${config.xdg.configHome}/nvim/spell/de.utf-8.spl".source = nvim-spell-de-utf8-dictionary;
|
||||
home.file."${config.xdg.configHome}/nvim/spell/de.utf-8.sug".source = nvim-spell-de-utf8-suggestions;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue