69 lines
1.7 KiB
Nix
69 lines
1.7 KiB
Nix
{
|
|
description = "My NixOS config flake";
|
|
outputs = inputs:
|
|
inputs.flake-parts.lib.mkFlake {inherit inputs;} ({withSystem, ...}: {
|
|
systems = ["x86_64-linux"];
|
|
imports = [
|
|
./parts
|
|
];
|
|
|
|
flake = {
|
|
nixosConfigurations = import ./hosts {inherit inputs withSystem;};
|
|
};
|
|
});
|
|
inputs = {
|
|
# what am I doing to this config help
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
# Unstable nixpkgs baby!
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
# Sandboxing
|
|
nixpak = {
|
|
url = "github:nixpak/nixpak";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
lix-module = {
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# Hyprland, my main compositor
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
|
|
|
# Plugins for hyprland
|
|
hyprland-plugins = {
|
|
url = "github:hyprwm/hyprland-plugins";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
|
|
# Plugin to get split monitor workspaces
|
|
split-monitor-workspaces = {
|
|
url = "github:Duckonaut/split-monitor-workspaces";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
|
|
|
neovim-flake = {
|
|
url = "github:notashelf/nvf";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
|
|
|
schizofox = {
|
|
url = "github:schizofox/schizofox";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
nixpak.follows = "nixpak";
|
|
};
|
|
};
|
|
};
|
|
}
|