36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{
|
|
description = "spec's nixos configs";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
xremap.url = "github:xremap/nix-flake";
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-23.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
disko = {
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
outputs = { self, nixpkgs, ... }@inputs: {
|
|
|
|
nixosConfigurations = {
|
|
katana = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
# Define the system type
|
|
system = "x86_64-linux";
|
|
homeManagerModules.default = ./home_manager/home-manager.nix;
|
|
# Define the modules for the configuration
|
|
modules = [
|
|
# Your configuration modules here. Example:
|
|
./hosts/katana.nix
|
|
./nixosModules/default.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|