2024-02-26 07:33:11 +00:00
|
|
|
{
|
|
|
|
description = "Nixos config flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
2024-05-29 22:23:56 +00:00
|
|
|
neovim-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
|
|
|
|
2024-02-26 07:33:11 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-02-29 04:37:01 +00:00
|
|
|
|
|
|
|
fish_theme = {
|
|
|
|
url = "git+https://git.zynh.me/Zynh0722/omf-theme";
|
|
|
|
flake = false;
|
|
|
|
};
|
2024-02-26 07:33:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, ... }@inputs:
|
|
|
|
{
|
2024-02-28 12:27:51 +00:00
|
|
|
nixosConfigurations = {
|
|
|
|
snowhawk = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = { inherit inputs; };
|
2024-02-28 13:01:07 +00:00
|
|
|
system = "x86_64-linux";
|
2024-02-28 12:27:51 +00:00
|
|
|
modules = [
|
|
|
|
./hosts/snowhawk/hardware-configuration.nix
|
|
|
|
./configuration.nix
|
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
];
|
|
|
|
};
|
|
|
|
sprite = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = { inherit inputs; };
|
2024-02-28 13:01:07 +00:00
|
|
|
system = "aarch64-linux";
|
2024-02-28 12:27:51 +00:00
|
|
|
modules = [
|
|
|
|
./hosts/sprite/hardware-configuration.nix
|
|
|
|
./configuration.nix
|
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
];
|
|
|
|
};
|
2024-05-29 21:23:03 +00:00
|
|
|
nixos = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./hosts/nixos/hardware-configuration.nix
|
|
|
|
./configuration.nix
|
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
];
|
|
|
|
};
|
2024-02-26 09:14:08 +00:00
|
|
|
};
|
2024-02-26 07:33:11 +00:00
|
|
|
};
|
|
|
|
}
|