nichts/flake.nix

105 lines
2.6 KiB
Nix
Raw Normal View History

2024-04-09 23:11:33 +02:00
{
2024-05-21 23:41:23 +02:00
description = "My NixOS config flake";
2024-07-21 20:14:19 +02:00
outputs = inputs:
2024-07-30 19:24:53 +02:00
inputs.flake-parts.lib.mkFlake {inherit inputs;} ({withSystem, ...}: {
systems = ["x86_64-linux"];
imports = [
inputs.treefmt-nix.flakeModule
./parts/shell.nix
./parts/fmt.nix
];
flake = {
nixosConfigurations = import ./hosts {inherit inputs withSystem;};
};
});
inputs = {
2024-07-16 11:13:12 +02:00
# what am I doing to this config help
flake-parts.url = "github:hercules-ci/flake-parts";
# Unstable nixpkgs baby!
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-07-28 11:00:54 +02:00
2024-07-13 23:22:14 +02:00
# nixpkgs for wayland
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
2024-07-28 11:00:54 +02:00
2024-07-13 23:22:14 +02:00
# Sandboxing
nixpak = {
url = "github:nixpak/nixpak";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-07-28 11:00:54 +02:00
2024-08-07 23:31:38 +02:00
# Nix but better
2024-08-08 10:21:47 +02:00
nix-super = {
url = "github:privatevoid-net/nix-super";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-08-07 23:31:38 +02:00
2024-07-13 23:22:14 +02:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-07-28 11:00:54 +02:00
2024-07-13 23:22:14 +02:00
# Hardware for my laptop
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
2024-07-30 21:04:27 +02:00
# Helix my beloved
helix.url = "github:helix-editor/helix";
2024-07-13 23:22:14 +02:00
# Hyprland, my main compositor
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
2024-07-28 11:00:54 +02:00
# Plugins for hyprland
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
2024-07-28 11:00:54 +02:00
# Plugin to get split monitor workspaces
split-monitor-workspaces = {
url = "github:Duckonaut/split-monitor-workspaces";
inputs.hyprland.follows = "hyprland";
};
2024-07-13 23:22:14 +02:00
2024-07-21 21:58:18 +02:00
treefmt-nix.url = "github:numtide/treefmt-nix";
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-07-13 23:22:14 +02:00
neovim-flake = {
url = "github:notashelf/nvf";
2024-07-07 13:23:38 +02:00
inputs.nixpkgs.follows = "nixpkgs";
};
2024-07-13 23:22:14 +02:00
emacs-overlay.url = "github:nix-community/emacs-overlay";
anyrun = {
url = "github:Kirottu/anyrun";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-07-13 23:22:14 +02:00
2024-07-28 11:00:54 +02:00
# Stylix my beloved
stylix.url = "github:danth/stylix";
2024-07-06 13:39:24 +02:00
2024-07-28 11:00:54 +02:00
# Aylur's gtk shell. Nice but I hate JS.
2024-07-06 13:39:24 +02:00
ags.url = "github:Aylur/ags";
2024-07-28 11:00:54 +02:00
2024-07-10 22:10:54 +02:00
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-07-13 23:22:14 +02:00
schizofox = {
url = "github:schizofox/schizofox";
inputs = {
nixpkgs.follows = "nixpkgs";
nixpak.follows = "nixpak";
};
};
2024-07-28 11:00:54 +02:00
spicetify-nix.url = "github:the-argus/spicetify-nix";
};
2024-04-09 23:11:33 +02:00
}