Compare commits
No commits in common. "096348358c2f5b868e77ad9d475b8c8c42fa3099" and "dce35118a8d984a78d1fe8e03576ca8d28f1c5a2" have entirely different histories.
096348358c
...
dce35118a8
|
@ -14,12 +14,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs:
|
outputs = inputs @ { nixpkgs, home-manager, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in {
|
in {
|
||||||
homeConfigurations."tacocat" = inputs.home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."tacocat" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
# Specify your home configuration modules here, for example,
|
# Specify your home configuration modules here, for example,
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
# package = inputs.helix.packages."x86_64-linux".default;
|
# package = inputs.helix.packages."x86_64-linux".default;
|
||||||
|
|
||||||
package = inputs.helix.packages.${pkgs.system}.default.overrideAttrs (self: {
|
package = inputs.helix.packages.${pkgs.system}.default.overrideAttrs (self: {
|
||||||
makeWrapperArgs = with pkgs; self.makeWrapperArgs
|
makeWrapperArgs = with pkgs;
|
||||||
|
self.makeWrapperArgs
|
||||||
or []
|
or []
|
||||||
++ [
|
++ [
|
||||||
"--suffix"
|
"--suffix"
|
||||||
|
@ -51,9 +52,34 @@
|
||||||
indent-guides = {
|
indent-guides = {
|
||||||
render = true;
|
render = true;
|
||||||
character = "▏";
|
character = "▏";
|
||||||
rainbow-option = "dim";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# languages = {
|
||||||
|
# language = [{
|
||||||
|
# name = "nix";
|
||||||
|
# scope = "flake.nix";
|
||||||
|
# roots = [ "flake.nix" "flake.lock" ];
|
||||||
|
# injection-regex = "nix";
|
||||||
|
# auto-format = false;
|
||||||
|
# file-types = [ "nix" ];
|
||||||
|
# comment-token = "#";
|
||||||
|
# indent = {
|
||||||
|
# tab-width = 2;
|
||||||
|
# unit = " ";
|
||||||
|
# };
|
||||||
|
# language-servers = [ "${pkgs.nil}" ];
|
||||||
|
# formatter = {
|
||||||
|
# command = "${pkgs.nixpkgs-fmt}";
|
||||||
|
# };
|
||||||
|
# }];
|
||||||
|
# grammar = [{
|
||||||
|
# name = "nix";
|
||||||
|
# source = {
|
||||||
|
# git = "https://github.com/nix-community/tree-sitter-nix";
|
||||||
|
# rev = "66e3e9ce9180ae08fc57372061006ef83f0abde7";
|
||||||
|
# };
|
||||||
|
# }];
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,16 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.helix.languages = {
|
programs.helix.languages = {
|
||||||
language = [
|
|
||||||
{
|
|
||||||
name = "bash";
|
|
||||||
auto-format = true;
|
|
||||||
formatter = {
|
|
||||||
command = "${pkgs.shfmt}/bin/shfmt";
|
|
||||||
args = ["-i" "2"];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
language-server = {
|
language-server = {
|
||||||
bash-language-server = {
|
bash-language-server = {
|
||||||
command = "${pkgs.nodePackages.bash-language-server}/bin/bash-language-server";
|
command = "${pkgs.nodePackages.bash-language-server}/bin/bash-language-server";
|
||||||
|
|
|
@ -6,12 +6,11 @@
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
enableVteIntegration = true;
|
enableVteIntegration = true;
|
||||||
autocd = false;
|
|
||||||
cdpath = [
|
cdpath = [
|
||||||
"/mnt/nixos/etc/nixos/"
|
"/mnt/nixos/etc/nixos/"
|
||||||
"/mnt/stuff/school/"
|
"/mnt/stuff/school/"
|
||||||
];
|
];
|
||||||
defaultKeymap = null;
|
defaultKeymap = null; # was "vicmd"
|
||||||
dotDir = ".config/zsh";
|
dotDir = ".config/zsh";
|
||||||
history = {
|
history = {
|
||||||
ignoreSpace = true;
|
ignoreSpace = true;
|
||||||
|
@ -34,21 +33,12 @@
|
||||||
# strug
|
# strug
|
||||||
# bira
|
# bira
|
||||||
};
|
};
|
||||||
# plugins = [
|
sessionVariables = {
|
||||||
# {
|
|
||||||
# name = "zsh-syntax-highlighting";
|
};
|
||||||
# src = pkgs.fetchFromGitHub {
|
|
||||||
# owner = "zsh-users";
|
|
||||||
# repo = "zsh-syntax-highlighting";
|
|
||||||
# rev = "0.7.1";
|
|
||||||
# sha256 = "gOG0NLlaJfotJfs+SUhGgLTNOnGLjoqnUp54V9aFJg8=";
|
|
||||||
# };
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "eza";
|
ls = "eza";
|
||||||
};
|
};
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue