🪛 Comments, git safe dir, moved nixvim import

- Moved nixvim import to nixvim directory
- Added git safe directory to /etc/nixos
This commit is contained in:
Martin Berg Alstad 2025-02-02 13:16:51 +01:00
parent 9da67d058d
commit bd2f725029
Signed by: martials
GPG Key ID: 706F53DD087A91DE
5 changed files with 9 additions and 1 deletions

View File

@ -11,7 +11,6 @@ in
{ {
imports = [ imports = [
inputs.catppuccin.homeManagerModules.catppuccin inputs.catppuccin.homeManagerModules.catppuccin
inputs.nixvim.homeManagerModules.nixvim
./btop.nix ./btop.nix
./cava ./cava
./cursors.nix ./cursors.nix

View File

@ -11,6 +11,7 @@
extraConfig = { extraConfig = {
push.autoSetupRemote = true; push.autoSetupRemote = true;
safe.directory = "/etc/nixos";
}; };
}; };
} }

View File

@ -1,5 +1,11 @@
# Neovim configuration for Nix # Neovim configuration for Nix
{ inputs, ... }:
{ {
imports = [
inputs.nixvim.homeManagerModules.nixvim
];
catppuccin.nvim.enable = true; catppuccin.nvim.enable = true;
home.sessionVariables.EDITOR = "nvim"; home.sessionVariables.EDITOR = "nvim";

View File

@ -20,6 +20,7 @@ in
plugins = [ plugins = [
{ {
# !! to get the previous command # !! to get the previous command
# https://github.com/BrewingWeasel/fishbang
name = "fishbang"; name = "fishbang";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "BrewingWeasel"; owner = "BrewingWeasel";

View File

@ -6,6 +6,7 @@
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
hyprpolkitagent # Auth deamon providing modals for password auth hyprpolkitagent # Auth deamon providing modals for password auth
hyprshot # Screenshots hyprshot # Screenshots
# unstable.hyprsysteminfo TODO requires flake update
]; ];
programs = { programs = {