mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
Add minimal modular setup
This commit is contained in:
commit
e81d8c9be4
19 changed files with 351 additions and 0 deletions
19
utils.nix
Normal file
19
utils.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, inputs, system, ... }: {
|
||||
mkHost = host: inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs system pkgs; };
|
||||
|
||||
modules = [
|
||||
host
|
||||
./modules/nixos
|
||||
];
|
||||
};
|
||||
|
||||
mkHome = host: inputs.home-manager.lib.homeMangerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
host
|
||||
./modules/home
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue