This commit is contained in:
John Lancaster
2024-12-08 16:22:59 -06:00
parent 30c43f5488
commit 138df54fbc
3 changed files with 16 additions and 6 deletions

View File

@@ -32,4 +32,5 @@
};
time.timeZone = "${systemSettings.timeZone}";
networking.hostName = systemSettings.hostname;
}

View File

@@ -38,6 +38,7 @@
};
pkgs = inputs.nixpkgs.legacyPackages.${systemSettings.system};
pkgs-stable = inputs.nixpkgs-stable.legacyPackages.${systemSettings.system};
in
{
@@ -64,10 +65,18 @@
homeConfigurations = {
useGlobalPkgs = true;
user = home-manager.lib.homeManagerConfiguration {
"${userSettings.username}" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit inputs outputs pkgs;};
modules = [ ./homeManagerModules/home.nix ];
specialArgs = {
inherit inputs;
inherit outputs;
inherit userSettings;
inherit systemSettings;
};
modules = [
./homeManagerModules/home.nix
({...}: {home.stateVersion = "${stateVersion}";})
];
};
};
};

View File

@@ -1,8 +1,8 @@
{
inputs,
lib,
config,
pkgs,
inputs,
...
}:
let
@@ -12,10 +12,10 @@ in
imports = [ ./git.nix ];
programs.git.extraConfig.safe.directory = "${homePath}";
nixpkgs.config.allowUnfree = true;
programs.home-manager.enable = true;
home = {
stateVersion = "24.05";
# username = "${user}";
homeDirectory = "${homePath}";
packages = [
(pkgs.writeShellScriptBin "nfs" ''