Mac updates galore

Patch up my new structure to support Macs as well
Add Firefox for Mac overlay
Combine Python version definitions
Toy around with Vim settings
This commit is contained in:
greg-compass
2022-11-01 09:15:43 -05:00
parent 2f7b36d42d
commit 92cdb0fc05
9 changed files with 99 additions and 63 deletions
+9 -12
View File
@@ -1,4 +1,10 @@
{ nixpkgs, nurpkgs, home-manager, username ? builtins.getEnv "USER", ... }:
{
nixpkgs,
overlays,
home-manager,
username ? builtins.getEnv "USER",
...
}:
let
home = system:
@@ -12,25 +18,16 @@ let
configDir = "${homeDirectory}/.config";
pkgs = import nixpkgs {
inherit overlays;
config.allowUnfree = true;
config.xdg.configHome = configDir;
overlays = [
nurpkgs.overlay
(import ../overlays)
];
};
nur = import nurpkgs {
inherit pkgs;
nur = pkgs;
};
in home-manager.lib.homeManagerConfiguration rec {
inherit pkgs system username homeDirectory;
stateVersion = "22.05";
configuration = import ./home.nix username {
inherit nur pkgs gui;
inherit pkgs gui;
inherit (pkgs) config lib stdenv;
};
};