mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
28 lines
632 B
Nix
28 lines
632 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, ... }@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
};
|
|
|
|
utils = import ./utils.nix { inherit pkgs inputs system; };
|
|
in with utils; {
|
|
nixosConfigurations = {
|
|
muon = mkHost ./hosts/muon/configuration.nix;
|
|
};
|
|
|
|
homeConfigurations = {
|
|
muon = mkHome ./hosts/muon/home.nix;
|
|
};
|
|
};
|
|
}
|