1
0
Fork 0
mirror of https://git.sr.ht/~azikx/wyswort synced 2024-10-30 07:26:20 +00:00
wyswort/flake.nix
2024-10-14 21:29:27 +09:00

90 lines
2.2 KiB
Nix

{
outputs = { nixpkgs, home-manager, ... }@inputs:
let
nxsys = nixpkgs.lib.nixosSystem;
hmsys = home-manager.lib.homeManagerConfiguration;
system = "x86_64-linux";
in
{
nixosConfigurations = {
wysvort = nxsys {
specialArgs = { inherit system inputs; };
modules = [ ./host ];
};
};
homeConfigurations = {
megamozg = hmsys {
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = { inherit inputs; };
modules = [ ./home ];
};
};
};
inputs = {
# REPOSITORIES NIXPKGS
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
nur.url = "github:nix-community/NUR";
# ONE LINE SOFTWARE
ayugram-desktop.url = "github:kaeeraa/ayugram-desktop/release?submodules=1";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
flake-parts.url = "github:hercules-ci/flake-parts";
stylix.url = "github:danth/stylix";
yazi.url = "github:sxyazi/yazi";
# TWO LINE SOFTWARE
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
anyrun = {
url = "github:anyrun-org/anyrun";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
auto-cpufreq = {
url = "github:AdnanHodzic/auto-cpufreq";
inputs.nixpkgs.follows = "nixpkgs";
};
# HYPRlAND
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
Hyprspace = {
url = "github:KZDKM/Hyprspace";
inputs.hyprland.follows = "hyprland";
};
hyprgrass = {
url = "github:horriblename/hyprgrass";
inputs.hyprland.follows = "hyprland";
};
hyprfocus = {
url = "github:pyt0xic/hyprfocus";
inputs.hyprland.follows = "hyprland";
};
nix-wallpapers = {
type = "github";
owner = "axax-loll";
repo = "nix-wallpapers";
flake = false;
};
};
}