mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
Add home
This commit is contained in:
parent
e81d8c9be4
commit
e2e390efdf
11 changed files with 96 additions and 100 deletions
24
utils.nix
24
utils.nix
|
|
@ -1,19 +1,11 @@
|
|||
{ pkgs, inputs, system, ... }: {
|
||||
mkHost = host: inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs system pkgs; };
|
||||
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
|
||||
];
|
||||
};
|
||||
modules = [
|
||||
host
|
||||
./modules/nixos
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue