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:
|
|
|
|
inputs.flake-parts.lib.mkFlake {inherit inputs;} (
|
|
|
|
{withSystem, ...}: {
|
|
|
|
systems = [
|
2024-07-22 00:05:07 +02:00
|
|
|
"x86_64-linux"
|
2024-07-21 20:14:19 +02:00
|
|
|
];
|
2024-07-21 21:58:18 +02:00
|
|
|
imports = [
|
|
|
|
inputs.treefmt-nix.flakeModule
|
2024-07-22 00:05:07 +02:00
|
|
|
# #./flake/pre-commit
|
|
|
|
./parts/shell.nix
|
|
|
|
./parts/fmt.nix
|
2024-07-21 21:58:18 +02:00
|
|
|
];
|
2024-07-22 00:05:07 +02:00
|
|
|
|
2024-07-21 20:14:19 +02:00
|
|
|
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-13 23:22:14 +02:00
|
|
|
# nixpkgs for wayland
|
|
|
|
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
|
|
|
# Sandboxing
|
|
|
|
nixpak = {
|
|
|
|
url = "github:nixpak/nixpak";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
# Lix because fast rebuild times are cool
|
|
|
|
lix-module = {
|
2024-07-21 20:14:19 +02:00
|
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz";
|
2024-07-13 23:22:14 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Hardware for my laptop
|
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
|
|
|
|
|
|
# Secret management
|
|
|
|
agenix.url = "github:ryantm/agenix";
|
|
|
|
|
2024-05-23 00:22:09 +02:00
|
|
|
# Hyprland, my main compositor
|
|
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
|
|
|
# Plugins for hyprland
|
2024-05-15 00:14:59 +02:00
|
|
|
hyprland-plugins = {
|
|
|
|
url = "github:hyprwm/hyprland-plugins";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
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
|
|
|
nixvim = {
|
|
|
|
url = "github:nix-community/nixvim";
|
2024-05-15 00:14:59 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-07-06 15:53:16 +02:00
|
|
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
2024-07-13 23:22:14 +02:00
|
|
|
|
2024-05-20 01:17:59 +02:00
|
|
|
doomemacs = {
|
|
|
|
url = "github:doomemacs/doomemacs";
|
|
|
|
flake = false;
|
|
|
|
};
|
2024-07-13 23:22:14 +02:00
|
|
|
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
2024-05-20 01:17:59 +02:00
|
|
|
doom-emacs-config = {
|
|
|
|
url = "github:bloxx12/doom-emacs-config";
|
|
|
|
flake = false;
|
|
|
|
};
|
2024-07-13 23:22:14 +02:00
|
|
|
|
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-05-15 00:14:59 +02:00
|
|
|
stylix.url = "github:danth/stylix";
|
2024-07-06 13:39:24 +02:00
|
|
|
|
|
|
|
ags.url = "github:Aylur/ags";
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
spicetify-nix.url = "github:the-argus/spicetify-nix";
|
|
|
|
};
|
2024-04-09 23:11:33 +02:00
|
|
|
}
|