{ outputs = { flake-parts, nixpkgs, home-manager, ... }@inputs: let nx = nixpkgs.lib.nixosSystem; hm = home-manager.lib.homeManagerConfiguration; in flake-parts.lib.mkFlake { inherit inputs; } { systems = [ "x86_64-linux" ]; flake = { # HOST CONFIGURATION nixosConfigurations = { wysvort = nx { specialArgs = { inherit inputs; }; modules = [ ./host ]; }; }; # HOME CONFIGURATION homeConfigurations = { megamozg = hm { pkgs = nixpkgs.legacyPackages."x86_64-linux"; 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"; zen-browser.url = "github:0xc000022070/zen-browser-flake"; flake-parts.url = "github:hercules-ci/flake-parts"; nix-gaming.url = "github:fufexan/nix-gaming"; 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"; }; 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"; }; nypkgs = { url = "github:yunfachi/nypkgs"; 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"; }; hyprfocus = { url = "github:pyt0xic/hyprfocus"; inputs.hyprland.follows = "hyprland"; }; walls = { url = "git+https://git.pub.solar/azikx/wallpapers?ref=main"; flake = false; }; }; }