auto lint

This commit is contained in:
alsaiduq-lab 2025-03-17 16:10:17 -06:00
parent a765516271
commit 6a9932451c
35 changed files with 262 additions and 205 deletions

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
imports = [
./modules/dunst.nix
./modules/fish.nix

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
dunst
];

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
fish-rust
starship
@ -10,5 +13,4 @@
fd
ripgrep
];
}

View file

@ -1,7 +1,11 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
ghostty
ghostty
fastfetch
];
}

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
lazygit
];

View file

@ -2,7 +2,7 @@
{
home.packages = with pkgs; [
neovim
ripgrep
gnugrep
fd
fzf
nodejs
@ -18,7 +18,7 @@
];
home.sessionVariables = {
LUA_PATH = "${pkgs.luajit}/share/lua/5.1/?.lua;;";
LUA_PATH = "${pkgs.luajit}/share/lua/5.1/?.lua;${pkgs.luajit}/share/lua/5.1/?/init.lua;;";
LUA_CPATH = "${pkgs.luajit}/lib/lua/5.1/?.so;;";
};
@ -26,15 +26,23 @@
"$HOME/.local/share/nvim/mason/bin"
];
xdg.configFile."nvim" =
if !builtins.pathExists "${config.home.homeDirectory}/.config/nvim"
then {
source = builtins.fetchGit {
url = "https://github.com/alsaiduq-lab/nvim-dotfiles.git";
ref = "master";
rev = "71155b4a4b63d9974f1bc3b66303d6f7e5e06871";
};
recursive = true;
}
else null;
xdg.configFile."nvim" = let
nvimConfigPath = "${config.home.homeDirectory}/.config/nvim";
# nvimDotfiles = builtins.fetchGit {
# url = "https://github.com/alsaiduq-lab/nvim-dotfiles.git";
# ref = "master";
# rev = "71155b4a4b63d9974f1bc3b66303d6f7e5e06871";
# };
in {
source = pkgs.emptyDirectory;
recursive = true;
enable = !builtins.pathExists nvimConfigPath;
onChange = ''
echo "Neovim config at ${nvimConfigPath} was ${
if builtins.pathExists nvimConfigPath
then "skipped (already exists)"
else "installed"
}"
'';
};
}

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
picom
];

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
polybar
];

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
rofi
];

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
starship
];

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
zellij
];