2024-12-25 10:59:37 +08:00
|
|
|
{
|
|
|
|
|
description = "A simple NixOS flakes";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
helix = {
|
|
|
|
|
url = "github:helix-editor/helix/master";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
wezterm = {
|
|
|
|
|
url = "github:wez/wezterm/main?dir=nix";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
oskars-dotfiles = {
|
|
|
|
|
url = "github:oskardotglobal/.dotfiles/nix";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2025-01-06 21:35:28 +08:00
|
|
|
niri-flake.url = "github:sodiboo/niri-flake";
|
2024-12-25 10:59:37 +08:00
|
|
|
nur = {
|
|
|
|
|
url = "github:nix-community/NUR";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
|
2024-12-28 18:56:04 +08:00
|
|
|
ghostty.url = "github:ghostty-org/ghostty";
|
|
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
2025-01-06 21:35:28 +08:00
|
|
|
dae.url = "github:daeuniverse/flake.nix";
|
2024-12-25 10:59:37 +08:00
|
|
|
};
|
|
|
|
|
outputs =
|
|
|
|
|
{
|
|
|
|
|
nixpkgs,
|
|
|
|
|
home-manager,
|
|
|
|
|
nur,
|
|
|
|
|
...
|
|
|
|
|
}@inputs:
|
|
|
|
|
{
|
|
|
|
|
nixosConfigurations."Tytonidae" = nixpkgs.lib.nixosSystem rec {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
specialArgs = {
|
|
|
|
|
inherit inputs;
|
|
|
|
|
};
|
|
|
|
|
modules = [
|
2025-01-06 21:35:28 +08:00
|
|
|
inputs.niri-flake.nixosModules.niri
|
2024-12-25 10:59:37 +08:00
|
|
|
{
|
|
|
|
|
nix.settings = {
|
|
|
|
|
substituters = [ "https://cosmic.cachix.org/" ];
|
|
|
|
|
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
|
|
|
|
|
};
|
2024-12-28 18:56:04 +08:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
|
(final: prev: {
|
|
|
|
|
helix = inputs.helix.packages."${system}".default;
|
|
|
|
|
})
|
2025-01-06 21:35:28 +08:00
|
|
|
inputs.niri-flake.overlays.niri
|
2024-12-28 18:56:04 +08:00
|
|
|
];
|
2024-12-25 10:59:37 +08:00
|
|
|
}
|
2024-12-28 18:56:04 +08:00
|
|
|
inputs.nixos-hardware.nixosModules.asus-fx506hm
|
2024-12-25 10:59:37 +08:00
|
|
|
inputs.nixos-cosmic.nixosModules.default
|
|
|
|
|
nur.modules.nixos.default
|
|
|
|
|
nur.legacyPackages."${system}".repos.iopq.modules.xraya
|
|
|
|
|
./configuration.nix
|
2024-12-28 18:56:04 +08:00
|
|
|
./hardware-configuration.nix
|
2024-12-25 10:59:37 +08:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
|
./users
|
2025-01-06 21:35:28 +08:00
|
|
|
inputs.dae.nixosModules.dae
|
2024-12-25 10:59:37 +08:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|