53 lines
1.4 KiB
Nix
53 lines
1.4 KiB
Nix
{
|
|
description = "snowhawk: a nixos configuration flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
neovim-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
fish_theme = {
|
|
url = "git+https://git.zynh.me/Zynh0722/omf-theme";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }@inputs:
|
|
{
|
|
nixosConfigurations = {
|
|
snowhawk = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/snowhawk/hardware-configuration.nix
|
|
./configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
];
|
|
};
|
|
sprite = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
system = "aarch64-linux";
|
|
modules = [
|
|
./hosts/sprite/hardware-configuration.nix
|
|
./configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
];
|
|
};
|
|
nixos = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/nixos/hardware-configuration.nix
|
|
./configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|