Files
nixos/flake.nix

69 lines
1.9 KiB
Nix
Raw Normal View History

2026-04-08 02:55:42 +02:00
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
2026-04-09 22:34:12 +02:00
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
2026-04-12 17:09:00 +02:00
hyprland-toggle-tiling-src.url = "git+ssh://gitea@typofelho.ddns.net/TypoMustakes/hyprland-toggle-tiling.git";
legacy-launcher-src.url = "git+ssh://gitea@typofelho.ddns.net/TypoMustakes/legacy-launcher.git";
pass-autotype-src.url = "git+ssh://gitea@typofelho.ddns.net/TypoMustakes/pass-autotype.git";
2026-04-10 17:26:52 +02:00
2026-04-08 02:55:42 +02:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2026-04-12 17:09:00 +02:00
outputs = {
self,
hyprland-toggle-tiling-src,
legacy-launcher-src,
pass-autotype-src,
nixpkgs,
nixpkgs-unstable,
home-manager,
... }: {
2026-04-08 02:55:42 +02:00
nixosConfigurations.Prometheus = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2026-04-09 22:34:12 +02:00
specialArgs = {
2026-04-12 17:09:00 +02:00
hyprland-toggle-tiling = hyprland-toggle-tiling-src.packages.x86_64-linux.default;
legacy-launcher = legacy-launcher-src.packages.x86_64-linux.default;
pass-autotype = pass-autotype-src.packages.x86_64-linux.default;
2026-04-10 17:26:52 +02:00
2026-04-09 22:34:12 +02:00
pkgs-unstable = import nixpkgs-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
2026-04-08 02:55:42 +02:00
modules = [
2026-04-08 10:58:44 +02:00
./hosts/Prometheus/configuration.nix
home-manager.nixosModules.home-manager
];
};
2026-04-09 22:34:12 +02:00
2026-04-08 10:58:44 +02:00
nixosConfigurations.Heracles = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2026-04-09 22:34:12 +02:00
specialArgs = {
2026-04-12 17:09:00 +02:00
hyprland-toggle-tiling = hyprland-toggle-tiling-src.packages.x86_64-linux.default;
legacy-launcher = legacy-launcher-src.packages.x86_64-linux.default;
pass-autotype = pass-autotype-src.packages.x86_64-linux.default;
2026-04-10 17:26:52 +02:00
2026-04-09 22:34:12 +02:00
pkgs-unstable = import nixpkgs-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
2026-04-08 10:58:44 +02:00
modules = [
./hosts/Heracles/configuration.nix
home-manager.nixosModules.home-manager
2026-04-08 02:55:42 +02:00
];
};
};
}