2024-04-09 23:11:33 +02:00
|
|
|
{
|
2024-05-21 23:41:23 +02:00
|
|
|
description = "My NixOS config flake";
|
2024-10-29 18:30:40 +01:00
|
|
|
outputs = inputs: let
|
|
|
|
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
2024-11-01 15:54:20 +01:00
|
|
|
user = import ./modules/user {inherit pkgs;};
|
2024-11-01 14:51:13 +01:00
|
|
|
in {
|
|
|
|
nixosConfigurations = import ./hosts inputs;
|
2024-11-01 16:19:42 +01:00
|
|
|
|
2024-11-01 14:51:13 +01:00
|
|
|
devShells.x86_64-linux.default = pkgs.callPackage ./shell.nix {};
|
2024-11-01 16:19:42 +01:00
|
|
|
|
|
|
|
formatter.x86_64-linux = pkgs.alejandra;
|
|
|
|
packages.x86_64-linux= user.packages;
|
2024-11-01 14:51:13 +01:00
|
|
|
nixosModules = {
|
2024-11-01 15:54:20 +01:00
|
|
|
user = user.module;
|
|
|
|
shell = import ./modules/shell {inherit pkgs;};
|
2024-08-28 18:17:55 +02:00
|
|
|
};
|
2024-11-01 14:51:13 +01:00
|
|
|
};
|
2024-05-15 00:14:59 +02:00
|
|
|
inputs = {
|
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-10-20 00:41:14 +02:00
|
|
|
|
2024-10-29 17:27:04 +01:00
|
|
|
# Lix, a faster nix fork.
|
|
|
|
lix-module = {
|
|
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
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-05-23 00:22:09 +02:00
|
|
|
# Hyprland, my main compositor
|
2024-10-01 16:08:11 +02:00
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
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-10-20 00:51:01 +02:00
|
|
|
|
2024-10-18 11:54:41 +02:00
|
|
|
hyprsplit = {
|
|
|
|
url = "github:shezdy/hyprsplit";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
|
|
|
|
2024-09-02 22:26:06 +02:00
|
|
|
impermanence.url = "github:nix-community/impermanence";
|
|
|
|
|
2024-10-29 22:31:30 +01:00
|
|
|
# Helix my beloved
|
2024-09-03 15:20:31 +02:00
|
|
|
helix.url = "github:helix-editor/helix";
|
|
|
|
|
2024-08-28 18:17:55 +02:00
|
|
|
# I use schizofox as my personal browser. This is because I am schizophrenic.
|
2024-05-15 00:14:59 +02:00
|
|
|
schizofox = {
|
|
|
|
url = "github:schizofox/schizofox";
|
2024-09-08 21:52:24 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-05-15 00:14:59 +02:00
|
|
|
};
|
2024-09-09 21:33:41 +02:00
|
|
|
|
2024-10-05 01:12:46 +02:00
|
|
|
spicetify-nix = {
|
|
|
|
url = "github:gerg-l/spicetify-nix";
|
2024-10-11 14:23:20 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-10-05 01:12:46 +02:00
|
|
|
};
|
2024-10-09 22:49:23 +02:00
|
|
|
|
|
|
|
quickshell = {
|
|
|
|
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-05-15 00:14:59 +02:00
|
|
|
};
|
2024-04-09 23:11:33 +02:00
|
|
|
}
|