nixos/flake.nix

53 lines
1.4 KiB
Nix
Raw Normal View History

2024-02-25 23:33:11 -08:00
{
2024-05-29 20:43:48 -07:00
description = "snowhawk: a nixos configuration flake";
2024-02-25 23:33:11 -08:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-05-29 15:23:56 -07:00
neovim-overlay.url = "github:nix-community/neovim-nightly-overlay";
2024-02-25 23:33:11 -08:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-02-28 20:37:01 -08:00
fish_theme = {
url = "git+https://git.zynh.me/Zynh0722/omf-theme";
flake = false;
};
2024-02-25 23:33:11 -08:00
};
outputs = { self, nixpkgs, ... }@inputs:
{
2024-02-28 04:27:51 -08:00
nixosConfigurations = {
snowhawk = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
2024-02-28 05:01:07 -08:00
system = "x86_64-linux";
2024-02-28 04:27:51 -08:00
modules = [
./hosts/snowhawk/hardware-configuration.nix
./configuration.nix
inputs.home-manager.nixosModules.default
];
};
sprite = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
2024-02-28 05:01:07 -08:00
system = "aarch64-linux";
2024-02-28 04:27:51 -08:00
modules = [
./hosts/sprite/hardware-configuration.nix
./configuration.nix
inputs.home-manager.nixosModules.default
];
};
2024-05-29 14:23:03 -07: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 01:14:08 -08:00
};
2024-02-25 23:33:11 -08:00
};
}