simplified
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
description = "Home Manager configuration of john";
|
description = "Home Manager configuration flake for JSL";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# Specify the source of Home Manager and Nixpkgs.
|
# Specify the source of Home Manager and Nixpkgs.
|
||||||
@@ -10,8 +10,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs = { nixpkgs, home-manager, ... }:
|
||||||
{ nixpkgs, home-manager, ... }:
|
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
@@ -41,7 +40,7 @@
|
|||||||
homeConfigurations.${userName} = mkHomeConfiguration userName;
|
homeConfigurations.${userName} = mkHomeConfiguration userName;
|
||||||
|
|
||||||
# Export the function so other flakes can create configurations for any user
|
# Export the function so other flakes can create configurations for any user
|
||||||
lib = { mkHomeConfiguration = username: mkHomeConfiguration username; };
|
lib.mkHomeConfiguration = mkHomeConfiguration;
|
||||||
|
|
||||||
# Export modules for reuse in other flakes
|
# Export modules for reuse in other flakes
|
||||||
homeManagerModules.default = homeManagerModule;
|
homeManagerModules.default = homeManagerModule;
|
||||||
|
|||||||
Reference in New Issue
Block a user