Fixes linter warnings

nix-darwin
Abhinav Sarkar 2023-11-24 16:35:04 +05:30
parent 86a729c6a1
commit 2a97110772
2 changed files with 97 additions and 93 deletions

View File

@ -3,12 +3,13 @@
{
imports = [ ./programs ./scripts ./launchd.nix ./nix.nix ];
home.username = "abhinav";
home.homeDirectory = "/Users/abhinav";
home.stateVersion = "22.05";
home.enableNixpkgsReleaseCheck = true;
home = {
username = "abhinav";
homeDirectory = "/Users/abhinav";
stateVersion = "22.05";
enableNixpkgsReleaseCheck = true;
home.shellAliases =
shellAliases =
let
projectsDir = "${config.home.homeDirectory}/Projects";
mm = "${projectsDir}/nix-managed-macbook";
@ -32,13 +33,14 @@
deploy-website = "just ${nv}/run-service abhinavsarkar.net";
};
home.sessionVariables = { EDITOR = "micro"; };
sessionVariables = { EDITOR = "micro"; };
home.file."Applications/Home Manager Apps".source = let
file."Applications/Home Manager Apps".source = let
apps = pkgs.buildEnv {
name = "home-manager-applications";
paths = config.home.packages;
pathsToLink = "/Applications";
};
in "${apps}/Applications";
};
}

View File

@ -63,7 +63,8 @@ in {
home.packages = nixPackages ++ networkingPackages ++ cmdLineUtilPackages ++ miscPackages ++ fonts;
programs.htop = {
programs = {
htop = {
enable = true;
settings = {
hide_kernel_threads = true;
@ -77,22 +78,22 @@ in {
};
};
programs.eza = {
eza = {
enable = true;
enableAliases = true;
};
programs.direnv = {
direnv = {
enable = true;
nix-direnv = { enable = true; };
};
programs.nix-index = {
nix-index = {
enable = true;
enableFishIntegration = true;
};
programs.bat = {
bat = {
enable = true;
config = {
italic-text = "always";
@ -102,14 +103,14 @@ in {
};
};
programs.fzf = {
fzf = {
enable = true;
enableFishIntegration = true;
fileWidgetCommand = "fd --type f --no-ignore";
historyWidgetOptions = [ "--reverse" "--sort" "--exact" ];
};
programs.micro = {
micro = {
enable = true;
settings = {
autoindent = true;
@ -127,5 +128,6 @@ in {
};
};
programs.zoxide.enable = true;
zoxide.enable = true;
};
}