Skip to content

Commit

Permalink
chore(nix): Fix Nix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Aug 10, 2023
1 parent e6a2356 commit f2eee38
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
};
homeConfigurations = {
"mac" = home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = { inherit inputs; };
pkgs = nixpkgs.legacyPackages.aarch64-darwin;
modules = [ ./home-manager/home.nix ];
};
# linux configuration is done via nixos-rebuld (home-manager as a NixOS module)
};
};
}
1 change: 0 additions & 1 deletion home-manager/modules/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
let
inherit (pkgs) stdenv;
inherit (stdenv) isLinux;
inherit (stdenv) isDarwin;
opSudoPasswordScript = pkgs.writeScript "opsudo.bash" ''
#!${pkgs.bash}/bin/bash
/run/wrappers/bin/op item get "System Password" --fields password
Expand Down
10 changes: 2 additions & 8 deletions home-manager/modules/git.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, ... }:
let
inherit (pkgs) git stdenv;
inherit (stdenv) isLinux;
Expand All @@ -21,13 +21,7 @@ in {
package = git.override {
guiSupport = false; # gui? never heard of her.
};
ignores = [
"Session.vim"
"packer_compiled.lua"
".DS_Store"
"wget-log"
"wget-log.*"
];
ignores = [ "Session.vim" ".DS_Store" ];
aliases = {
s = "status";
newbranch = "checkout -b";
Expand Down
2 changes: 1 addition & 1 deletion home-manager/modules/nvim.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, ... }:
let
inherit (pkgs) stdenv;
inherit (stdenv) isLinux;
Expand Down
2 changes: 1 addition & 1 deletion home-manager/modules/wezterm.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
let
inherit (pkgs) stdenv;
inherit (stdenv) isLinux;
Expand Down

0 comments on commit f2eee38

Please sign in to comment.