nix-dotfiles/flake.nix

37 lines
1 KiB
Nix
Raw Normal View History

2023-11-19 19:31:04 -08:00
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
personalpkgs.url = "github:langedev/nixpkgs/nixos-unstable";
2023-11-19 19:31:04 -08:00
hyprland.url = "github:hyprwm/Hyprland";
};
outputs = { self, nixpkgs, personalpkgs, hyprland, ... }:
2024-02-21 14:51:00 -08:00
let
personal-overlay = final: prev: {
personal = personalpkgs.legacyPackages.${prev.system};
};
in {
2023-12-04 17:40:50 -08:00
nixosConfigurations.onizuka = nixpkgs.lib.nixosSystem {
2023-11-19 19:31:04 -08:00
system = "x86_64-linux";
modules = [
2024-02-21 14:51:00 -08:00
({ config, pkgs, ... }: { nixpkgs.overlays = [ personal-overlay ]; })
2023-11-19 19:31:04 -08:00
hyprland.nixosModules.default
{ programs.hyprland.enable = true; }
./systems/shared
./systems/onizuka
];
};
nixosConfigurations.jibril = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
2024-02-21 14:51:00 -08:00
({ config, pkgs, ... }: { nixpkgs.overlays = [ personal-overlay ]; })
hyprland.nixosModules.default
{ programs.hyprland.enable = true; }
./systems/shared
./systems/jibril
2023-11-19 19:31:04 -08:00
];
};
};
}