generated from john/nix-docker
more
This commit is contained in:
@@ -32,4 +32,5 @@
|
||||
};
|
||||
|
||||
time.timeZone = "${systemSettings.timeZone}";
|
||||
networking.hostName = systemSettings.hostname;
|
||||
}
|
||||
|
||||
15
flake.nix
15
flake.nix
@@ -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}";})
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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" ''
|
||||
|
||||
Reference in New Issue
Block a user