feat: home-manager entry point and per-user shims
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
8d2a0357c1
commit
7c9ce3fe10
3 changed files with 928 additions and 0 deletions
16
users/padreug/home-manager.nix
Normal file
16
users/padreug/home-manager.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# users/user/home-manager.nix
|
||||
#
|
||||
# Shim that forwards to the top-level home.nix via the module-system
|
||||
# `imports` mechanism. The user name "user" matches settings.user in
|
||||
# settings.nix (a placeholder — a real deployment would edit
|
||||
# settings.nix and rename this dir to users/<real-username>/).
|
||||
#
|
||||
# home.nix expects `settings` as a function arg. mksystem passes it
|
||||
# via `extraHmArgs = { inherit settings; }` from flake.nix, which
|
||||
# becomes part of home-manager.extraSpecialArgs and reaches home.nix
|
||||
# transparently through the imports mechanism.
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ../../home.nix ];
|
||||
}
|
||||
16
users/user/home-manager.nix
Normal file
16
users/user/home-manager.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# users/user/home-manager.nix
|
||||
#
|
||||
# Shim that forwards to the top-level home.nix via the module-system
|
||||
# `imports` mechanism. The user name "user" matches settings.user in
|
||||
# settings.nix (a placeholder — a real deployment would edit
|
||||
# settings.nix and rename this dir to users/<real-username>/).
|
||||
#
|
||||
# home.nix expects `settings` as a function arg. mksystem passes it
|
||||
# via `extraHmArgs = { inherit settings; }` from flake.nix, which
|
||||
# becomes part of home-manager.extraSpecialArgs and reaches home.nix
|
||||
# transparently through the imports mechanism.
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ../../home.nix ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue