mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
67 lines
1.3 KiB
Nix
67 lines
1.3 KiB
Nix
{
|
|
nixpkgs,
|
|
self,
|
|
...
|
|
}: let
|
|
inherit (self) inputs;
|
|
bootloader = ../modules/core/bootloader.nix;
|
|
core = ../modules/core;
|
|
unfree = ../modules/unfree;
|
|
prime = ../modules/unfree/prime.nix;
|
|
|
|
hmModule = inputs.home-manager.nixosModules.home-manager;
|
|
stylix = inputs.stylix;
|
|
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
extraSpecialArgs = {
|
|
inherit inputs;
|
|
inherit self;
|
|
inherit stylix;
|
|
};
|
|
users.muon = ../modules/home;
|
|
};
|
|
in {
|
|
# desktop
|
|
muon = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules =
|
|
[
|
|
{networking.hostName = "muon";}
|
|
./muon/hardware-configuration.nix
|
|
core
|
|
bootloader
|
|
unfree
|
|
hmModule
|
|
|
|
{inherit home-manager;}
|
|
];
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
};
|
|
# laptop
|
|
muop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules =
|
|
[
|
|
{networking.hostName = "muop";}
|
|
./muop/hardware-configuration.nix
|
|
core
|
|
bootloader
|
|
unfree
|
|
prime
|
|
hmModule
|
|
|
|
#inputs.hyprland.nixosModules.default
|
|
|
|
# inputs.stylix.nixosModules.stylix
|
|
|
|
{inherit home-manager;}
|
|
];
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
};
|
|
}
|