124 lines
3.4 KiB
Nix
124 lines
3.4 KiB
Nix
{
|
|
description = "Not a Deltarune reference!";
|
|
|
|
inputs = {
|
|
self.submodules = true;
|
|
|
|
# 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";
|
|
hypr-dynamic-cursors = {
|
|
url = "github:VirtCode/hypr-dynamic-cursors";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
imgborders = {
|
|
url = "git+https://codeberg.org/zacoons/imgborders";
|
|
inputs.hyprland.follows = "hyprland";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.systems.follows = "hyprland/systems";
|
|
};
|
|
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";
|
|
nvf.url = "github:notashelf/nvf";
|
|
|
|
# Extras
|
|
tangled.url = "git+https://tangled.org/did:plc:wshs7t2adsemcrrd4snkeqli/core";
|
|
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";
|
|
deltarune-grub-theme = {
|
|
url = "git+https://tangled.org/did:plc:s7cesz7cr6ybltaryy4meb6y/deltarune-grub-theme";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
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.hyprland.nixosModules.default
|
|
inputs.chaotic.nixosModules.nyx-cache
|
|
inputs.chaotic.nixosModules.nyx-overlay
|
|
inputs.chaotic.nixosModules.nyx-registry
|
|
./hosts/default/disko.nix
|
|
./hosts/default/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.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
|
|
];
|
|
};
|
|
};
|
|
}
|