112 lines
3.1 KiB
Nix
112 lines
3.1 KiB
Nix
{
|
|
description = "Not a Deltarune reference!";
|
|
|
|
inputs = {
|
|
# Core
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
|
|
# Desktop + Theming
|
|
catppuccin.url = "github:catppuccin/nix";
|
|
hyprland = {
|
|
url = "github:hyprwm/Hyprland";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hyprlock.url = "github:hyprwm/hyprlock";
|
|
hyprsysteminfo.url = "github:hyprwm/hyprsysteminfo";
|
|
ghostty.url = "github:ghostty-org/ghostty";
|
|
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
|
quickshell = {
|
|
url = "github:outfoxxed/quickshell";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# Package tooling
|
|
disko.url = "github:nix-community/disko";
|
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
|
nvf.url = "github:notashelf/nvf";
|
|
|
|
# Extras
|
|
tangled.url = "git+https://tangled.sh/tangled.sh/core";
|
|
wafrn.url = "git+https://git.ocbwoy3.dev/kris/wafrn-nix";
|
|
vscode-server.url = "github:nix-community/nixos-vscode-server";
|
|
spacebar = {
|
|
url = "github:spacebarchat/server";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# slop
|
|
openclaw.url = "github:openclaw/nix-openclaw";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }@inputs: {
|
|
nixosConfigurations.installer = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
modules = [
|
|
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
./hosts/installer/configuration.nix
|
|
];
|
|
};
|
|
|
|
packages.x86_64-linux.installerIso =
|
|
self.nixosConfigurations.installer.config.system.build.isoImage;
|
|
|
|
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
modules = [
|
|
inputs.home-manager.nixosModules.default
|
|
inputs.disko.nixosModules.disko
|
|
inputs.catppuccin.nixosModules.catppuccin
|
|
inputs.nix-flatpak.nixosModules.nix-flatpak
|
|
inputs.chaotic.nixosModules.nyx-cache
|
|
inputs.chaotic.nixosModules.nyx-overlay
|
|
inputs.chaotic.nixosModules.nyx-registry
|
|
./hosts/default/disko.nix
|
|
"/etc/nixos/hardware-configuration.nix"
|
|
./hosts/default/configuration.nix
|
|
];
|
|
};
|
|
|
|
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
modules = [
|
|
inputs.catppuccin.nixosModules.catppuccin
|
|
inputs.tangled.nixosModules.knot
|
|
inputs.wafrn.nixosModules.default
|
|
inputs.tangled.nixosModules.spindle
|
|
inputs.vscode-server.nixosModules.default
|
|
inputs.chaotic.nixosModules.nyx-cache
|
|
inputs.chaotic.nixosModules.nyx-overlay
|
|
inputs.chaotic.nixosModules.nyx-registry
|
|
./modules/openclaw-user.nix
|
|
./modules/openclaw-sudo.nix
|
|
./modules/openclaw-fs.nix
|
|
./modules/openclaw-docker.nix
|
|
./modules/openclaw-docker-env.nix
|
|
./modules/openclaw-watchdog.nix
|
|
./hosts/server/configuration.nix
|
|
./hosts/server/hardware-configuration.nix
|
|
];
|
|
};
|
|
|
|
nixosConfigurations.fix_nixpkgs = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
modules = [
|
|
./modules/nixos/nixpkgs.nix
|
|
/etc/nixos/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|