works maybe
This commit is contained in:
181
flake.nix
181
flake.nix
@@ -1,97 +1,108 @@
|
||||
{
|
||||
description = "Dark World Exclusive Nix Flake (Totally not a Deltarune reference)";
|
||||
description = "Dark World Exclusive Nix Flake (Totally 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";
|
||||
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";
|
||||
# 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";
|
||||
|
||||
# Programs
|
||||
tuxstrap.url = "git+https://tangled.org/kris.darkworld.download/tuxstrap";
|
||||
|
||||
# Package tooling
|
||||
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
# Programs
|
||||
tuxstrap.url = "git+https://tangled.org/kris.darkworld.download/tuxstrap";
|
||||
|
||||
# Extras
|
||||
tangled.url = "git+https://tangled.sh/tangled.sh/core";
|
||||
vscode-server.url = "github:nix-community/nixos-vscode-server";
|
||||
spacebar = {
|
||||
url = "github:spacebarchat/server";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
# Package tooling
|
||||
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
|
||||
# Required by NixOS:
|
||||
# ./hardware-configuration.nix
|
||||
# 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";
|
||||
};
|
||||
|
||||
# inputs.home-manager.nixosModules.default
|
||||
# catppuccin.nixosModules.catppuccin
|
||||
# nix-flatpak.nixosModules.nix-flatpak
|
||||
# slop
|
||||
openclaw.url = "github:openclaw/nix-openclaw";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs: {
|
||||
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
# inputs.nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
# inputs.chaotic.nixosModules.default
|
||||
inputs.chaotic.nixosModules.nyx-cache
|
||||
inputs.chaotic.nixosModules.nyx-overlay
|
||||
inputs.chaotic.nixosModules.nyx-registry
|
||||
# ./hosts/default/hardware-configuration.nix
|
||||
# Required by NixOS:
|
||||
# ./hardware-configuration.nix
|
||||
|
||||
# lil hack to not use --impure when rebuilding nixos >:3
|
||||
"/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.tangled.nixosModules.spindle
|
||||
inputs.vscode-server.nixosModules.default
|
||||
# inputs.home-manager.nixosModules.default
|
||||
# catppuccin.nixosModules.catppuccin
|
||||
# nix-flatpak.nixosModules.nix-flatpak
|
||||
|
||||
inputs.chaotic.nixosModules.nyx-cache
|
||||
inputs.chaotic.nixosModules.nyx-overlay
|
||||
inputs.chaotic.nixosModules.nyx-registry
|
||||
outputs =
|
||||
{ self, nixpkgs, ... }@inputs:
|
||||
{
|
||||
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
# inputs.nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
# inputs.chaotic.nixosModules.default
|
||||
inputs.chaotic.nixosModules.nyx-cache
|
||||
inputs.chaotic.nixosModules.nyx-overlay
|
||||
inputs.chaotic.nixosModules.nyx-registry
|
||||
# ./hosts/default/hardware-configuration.nix
|
||||
|
||||
# lil hack to not use --impure when rebuilding nixos >:3
|
||||
"/etc/nixos/hardware-configuration.nix"
|
||||
|
||||
./hosts/server/configuration.nix
|
||||
];
|
||||
};
|
||||
nixosConfigurations.fix_nixpkgs = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
./modules/nixos/nixpkgs.nix
|
||||
/etc/nixos/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
# lil hack to not use --impure when rebuilding nixos >:3
|
||||
"/etc/nixos/hardware-configuration.nix"
|
||||
|
||||
./hosts/default/configuration.nix
|
||||
];
|
||||
};
|
||||
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
# inputs.home-manager.nixosModules.default
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
inputs.tangled.nixosModules.knot
|
||||
inputs.wafrn.nixosModules.default
|
||||
|
||||
inputs.tangled.nixosModules.spindle
|
||||
inputs.vscode-server.nixosModules.default
|
||||
# inputs.openclaw.nixosModules.openclaw-gateway
|
||||
# inputs.openclaw.homeManagerModules.openclaw
|
||||
|
||||
inputs.chaotic.nixosModules.nyx-cache
|
||||
inputs.chaotic.nixosModules.nyx-overlay
|
||||
inputs.chaotic.nixosModules.nyx-registry
|
||||
|
||||
# lil hack to not use --impure when rebuilding nixos >:3
|
||||
"/etc/nixos/hardware-configuration.nix"
|
||||
|
||||
./hosts/server/configuration.nix
|
||||
];
|
||||
};
|
||||
nixosConfigurations.fix_nixpkgs = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
./modules/nixos/nixpkgs.nix
|
||||
/etc/nixos/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user