mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
refactor: massively overhaul home manager module system
This commit is contained in:
parent
b2270408fc
commit
a506d2aed4
64 changed files with 5201 additions and 64 deletions
45
reference/hosts/callisto/default.nix
Normal file
45
reference/hosts/callisto/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
inputs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./configuration.nix
|
||||
../../modules/linux/audio
|
||||
../../modules/linux/networking
|
||||
../../modules/linux/fonts
|
||||
../../modules/linux/greeter
|
||||
../../modules/linux/core
|
||||
../../modules/linux/desktop-environment
|
||||
../../modules/linux/stylix
|
||||
../../overlays
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
inherit system;
|
||||
};
|
||||
home-manager.users.youwen = {
|
||||
imports =
|
||||
[
|
||||
../../users/youwen/common
|
||||
../../users/youwen/linux/laptop
|
||||
../../users/youwen/linux/packages/aarch-64
|
||||
(import ../../users/youwen/common/fastfetch { })
|
||||
./home-manager-extras
|
||||
]
|
||||
++ (with inputs; [
|
||||
nix-index-database.hmModules.nix-index
|
||||
]);
|
||||
};
|
||||
}
|
||||
]
|
||||
++ (with inputs; [
|
||||
home-manager.nixosModules.home-manager
|
||||
apple-silicon.nixosModules.apple-silicon-support
|
||||
]);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue