Merge branch 'main' of tangled.org:did:plc:s7cesz7cr6ybltaryy4meb6y/nix
This commit is contained in:
38
flake.nix
38
flake.nix
@@ -24,39 +24,35 @@
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
|
||||
# Extras
|
||||
tangled.url = "git+https://tangled.sh/@tangled.sh/core";
|
||||
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";
|
||||
};
|
||||
|
||||
# Required by NixOS:
|
||||
# ./hardware-configuration.nix
|
||||
|
||||
# inputs.home-manager.nixosModules.default
|
||||
# catppuccin.nixosModules.catppuccin
|
||||
# nix-flatpak.nixosModules.nix-flatpak
|
||||
|
||||
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/default/configuration.nix
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
@@ -64,19 +60,23 @@
|
||||
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
|
||||
|
||||
# lil hack to not use --impure when rebuilding nixos >:3
|
||||
"/etc/nixos/hardware-configuration.nix"
|
||||
|
||||
./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;
|
||||
|
||||
Reference in New Issue
Block a user