nichts/flake.nix

80 lines
2.1 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";
outputs = inputs: let
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
2024-11-02 17:45:34 +01:00
user = import ./modules/user {inherit inputs 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;
2024-11-02 11:28:08 +01:00
packages.x86_64-linux = user.packages;
apps.x86_64-linux.default = {
type = "app";
program = "${user.packages.fish}/bin/fish";
};
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-11-01 14:51:13 +01:00
};
inputs = {
# Unstable nixpkgs baby!
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# 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
# 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
# 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-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";
# I use schizofox as my personal browser. This is because I am schizophrenic.
schizofox = {
url = "github:schizofox/schizofox";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-09-09 21:33:41 +02:00
2024-10-05 01:12:46 +02:00
spicetify-nix = {
url = "github:gerg-l/spicetify-nix";
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-04-09 23:11:33 +02:00
}