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 = [
|
2024-08-22 20:56:58 +02:00
|
|
|
./parts
|
2024-07-30 19:24:53 +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-28 11:00:54 +02:00
|
|
|
|
2024-08-21 23:11:59 +02:00
|
|
|
# Sandboxing
|
2024-07-13 23:22:14 +02:00
|
|
|
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-21 22:36:13 +02:00
|
|
|
# nix-super = {
|
|
|
|
# url = "github:privatevoid-net/nix-super";
|
|
|
|
# };
|
|
|
|
|
|
|
|
lix-module = {
|
|
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-08-08 10:21:47 +02:00
|
|
|
};
|
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-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";
|
|
|
|
|
2024-08-20 23:15:12 +02:00
|
|
|
# devshell = {
|
|
|
|
# url = "github:numtide/devshell";
|
|
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
# };
|
2024-07-21 21:58:18 +02:00
|
|
|
|
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
|
|
|
schizofox = {
|
|
|
|
url = "github:schizofox/schizofox";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
nixpak.follows = "nixpak";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-04-09 23:11:33 +02:00
|
|
|
}
|