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, ... }: {
|
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
daniel = home-manager.lib.homeManagerConfiguration {
|
daniel = home-manager.lib.homeManagerConfiguration {
|
||||||
system = "x86_64-darwin";
|
system = "aarch64-darwin";
|
||||||
homeDirectory = "/Users/daniel";
|
homeDirectory = "/Users/daniel";
|
||||||
username = "daniel";
|
username = "daniel";
|
||||||
stateVersion = "21.11";
|
stateVersion = "21.11";
|
||||||
|
|
|
@ -54,6 +54,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
shellInit = ''
|
shellInit = ''
|
||||||
|
# Disable greeting
|
||||||
|
set fish_greeting
|
||||||
|
|
||||||
if test -e "$HOME/.cache/fish/nix_path_value"
|
if test -e "$HOME/.cache/fish/nix_path_value"
|
||||||
set -gx NIX_PATH (cat "$HOME/.cache/fish/nix_path_value")
|
set -gx NIX_PATH (cat "$HOME/.cache/fish/nix_path_value")
|
||||||
end
|
end
|
||||||
|
@ -77,13 +80,14 @@
|
||||||
end
|
end
|
||||||
|
|
||||||
# Vendor Configuration
|
# Vendor Configuration
|
||||||
if test -d "$HOME/.nix-profile/share/fish/vendor_conf.d"
|
for vendor_conf in \
|
||||||
for vendor_conf in $HOME/.nix-profile/share/fish/vendor_conf.d/*.fish
|
"$HOME/.nix-profile/share/fish/vendor_conf.d/direnv.fish"
|
||||||
|
|
||||||
|
if test -f "$vendor_conf"
|
||||||
source "$vendor_conf"
|
source "$vendor_conf"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# Custom Scripts
|
# Custom Scripts
|
||||||
if test -d "$HOME/.config/fish/custom-scripts"
|
if test -d "$HOME/.config/fish/custom-scripts"
|
||||||
for custom_script in $HOME/.config/fish/custom-scripts/*.fish
|
for custom_script in $HOME/.config/fish/custom-scripts/*.fish
|
||||||
|
|
|
@ -1,7 +1,17 @@
|
||||||
{ pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
customPlugins = import ./plugins.nix { inherit pkgs; };
|
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
|
in
|
||||||
{
|
{
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
|
@ -123,4 +133,7 @@ in
|
||||||
source = ../../config/nvim;
|
source = ../../config/nvim;
|
||||||
recursive = true;
|
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