nix-dotfiles/flake.nix

38 lines
1 KiB
Nix
Raw Normal View History

2023-11-19 19:31:04 -08:00
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
2024-03-05 21:31:57 -08:00
# personalpkgs.url = "github:langedev/nixpkgs/nixos-unstable";
2023-11-19 19:31:04 -08:00
hyprland.url = "github:hyprwm/Hyprland";
};
2024-03-05 21:31:57 -08:00
outputs = { self, nixpkgs, hyprland, ... }:
# 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-03-05 21:31:57 -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-03-05 21:31:57 -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
];
};
};
}