aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/ho/home-manager
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/ho/home-manager/module.nix45
1 files changed, 16 insertions, 29 deletions
diff --git a/modules/by-name/ho/home-manager/module.nix b/modules/by-name/ho/home-manager/module.nix
index f5304170..d7eccbd6 100644
--- a/modules/by-name/ho/home-manager/module.nix
+++ b/modules/by-name/ho/home-manager/module.nix
@@ -1,22 +1,17 @@
+# nixos-config - My current NixOS configuration
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of my nixos-config.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
{
config,
lib,
- pkgsStable,
- nixpkgs_open_prs,
- sysLib,
- # extra information
system,
- # bins
- # TODO: Integrate these <2024-05-22>
- river_init_lesser,
- shell_library,
- qmk_firmware,
- # external deps
- user_js,
- # modules
- impermanence,
- nix-index-database,
- nixVim,
+ modules,
...
}: let
cfg = config.soispha.home-manager;
@@ -25,6 +20,10 @@ in {
enable = lib.mkEnableOption "home-manager with custom config.";
};
+ imports = [
+ modules.home-manager.nixosModules.home-manager
+ ];
+
# TODO: Find a way to throw this error below, when a user `enable`s a home-manager
# module, but not this module. Without having to plaster all the `home-manager` modules
# with `assert`s. <2024-10-18>
@@ -33,24 +32,12 @@ in {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
+
+ # TODO(@bpeetz): Remove this once the legacy -> by-name migration is done. <2025-05-16>
users.soispha = import ../../../home.legacy;
extraSpecialArgs = {
inherit
- nixpkgs_open_prs
- pkgsStable
- sysLib
- # extra information
system
- # bins
- river_init_lesser
- shell_library
- qmk_firmware
- # external deps
- user_js
- # modules
- impermanence
- nixVim
- nix-index-database
;
};
};