69 lines
1.6 KiB
Nix
69 lines
1.6 KiB
Nix
{
|
|
description = "Hakase Configuration";
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
elephant.url = "github:abenz1267/elephant";
|
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
textfox.url = "github:adriankarlen/textfox";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hyprland = {
|
|
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixovim = {
|
|
# FIXME: treesitter does not install automatically (disabled due to read-only problems)
|
|
url = "git+https://git.sakamoto.dev/kenji/nixovim.git";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
stylix = {
|
|
url = "github:nix-community/stylix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
walker = {
|
|
url = "github:abenz1267/walker";
|
|
inputs.elephant.follows = "elephant";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
home-manager,
|
|
stylix,
|
|
nixovim,
|
|
chaotic,
|
|
sops-nix,
|
|
textfox,
|
|
...
|
|
} @ inputs: let
|
|
config = import ./config.nix;
|
|
system = "x86_64-linux";
|
|
args =
|
|
{
|
|
inherit inputs system;
|
|
}
|
|
// config;
|
|
in {
|
|
nixosConfigurations = {
|
|
hakase = nixpkgs.lib.nixosSystem {
|
|
specialArgs = args;
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
sops-nix.nixosModules.sops
|
|
chaotic.nixosModules.default
|
|
./hosts/hakase/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|