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;};
|
|
|
|
};
|
|
|
|
});
|
2024-05-15 00:14:59 +02:00
|
|
|
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";
|
|
|
|
|
2024-05-23 00:22:09 +02:00
|
|
|
# Unstable nixpkgs baby!
|
2024-05-15 00:14:59 +02:00
|
|
|
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-13 11:09:42 +02:00
|
|
|
# Nix but better or something
|
2024-08-08 10:21:47 +02:00
|
|
|
nix-super = {
|
|
|
|
url = "github:privatevoid-net/nix-super";
|
|
|
|
};
|
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
|
|
|
|
2024-08-09 11:54:07 +02:00
|
|
|
# Impurity, ruining my nice pure system
|
|
|
|
impurity.url = "github:outfoxxed/impurity.nix";
|
|
|
|
|
2024-05-23 00:22:09 +02:00
|
|
|
# Hyprland, my main compositor
|
|
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
2024-07-28 11:00:54 +02:00
|
|
|
|
2024-05-23 00:22:09 +02:00
|
|
|
# Plugins for hyprland
|
2024-05-15 00:14:59 +02:00
|
|
|
hyprland-plugins = {
|
|
|
|
url = "github:hyprwm/hyprland-plugins";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
2024-07-28 11:00:54 +02:00
|
|
|
|
2024-05-23 00:22:09 +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";
|
|
|
|
|
2024-05-15 00:14:59 +02:00
|
|
|
anyrun = {
|
|
|
|
url = "github:Kirottu/anyrun";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-07-13 23:22:14 +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
|
|
|
|
2024-05-15 00:14:59 +02:00
|
|
|
schizofox = {
|
|
|
|
url = "github:schizofox/schizofox";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
nixpak.follows = "nixpak";
|
|
|
|
};
|
|
|
|
};
|
2024-07-28 11:00:54 +02:00
|
|
|
|
2024-08-13 11:00:58 +02:00
|
|
|
spicetify-nix = {
|
|
|
|
url = "github:gerg-l/spicetify-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-05-15 00:14:59 +02:00
|
|
|
};
|
2024-04-09 23:11:33 +02:00
|
|
|
}
|