{ description = "Nixos config flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nix-index-database.url = "github:nix-community/nix-index-database"; nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; stylix.url = "github:nix-community/stylix"; nix-colors.url = "github:Misterio77/nix-colors"; zen-browser = { url = "github:0xc000022070/zen-browser-flake"; inputs = { nixpkgs.follows = "nixpkgs"; home-manager.follows = "home-manager"; }; }; nixcord = { url = "github:kaylorben/nixcord"; inputs.nixpkgs.follows = "nixpkgs"; }; #niri.url = "github:sodiboo/niri-flake"; dgop = { url = "github:AvengeMedia/dgop"; inputs.nixpkgs.follows = "nixpkgs"; }; dms = { url = "github:AvengeMedia/DankMaterialShell"; inputs.nixpkgs.follows = "nixpkgs"; inputs.dgop.follows = "dgop"; }; caelestia.url = "github:caelestia-dots/shell"; caelestia-cli.url = "github:caelestia-dots/cli"; quickshell = { # remove ?ref=v0.1.0 to track the master branch url = "git+https://git.outfoxxed.me/outfoxxed/quickshell"; # THIS IS IMPORTANT # Mismatched system dependencies will lead to crashes and other issues. inputs.nixpkgs.follows = "nixpkgs"; }; qs-qml = { url = "git+https://git.outfoxxed.me/outfoxxed/nix-qml-support"; inputs.nixpkgs.follows = "nixpkgs"; }; nix-alien = { url = "github:thiagokokada/nix-alien"; inputs.nixpkgs.follows = "nixpkgs"; }; hyprland = { url = "github:hyprwm/Hyprland"; inputs.nixpkgs.follows = "nixpkgs"; }; hyprland-plugins = { url = "github:hyprwm/hyprland-plugins"; inputs.hyprland.follows = "hyprland"; }; hyprland-hyprsplit = { url = "github:Duckonaut/split-monitor-workspaces"; inputs.hyprland.follows = "hyprland"; }; vicinae = { url = "github:vicinaehq/vicinae"; #inputs.nixpkgs.follows = "nixpkgs"; }; # ... your existing inputs ... jovian = { url = "github:Jovian-Experiments/Jovian-NixOS"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, ... }@inputs: let system = "x86_64-linux"; #pkgs = nixpkgs.legacyPackages.${system}; pkgs = import nixpkgs { system = "x86_64-linux"; # or your system config = { allowUnfree = true; }; }; #Avalable options are ["niri" "river" "hyprland" "all"] window_manager = "hyprland"; in { nixosConfigurations = { mrfluffyLaptop = nixpkgs.lib.nixosSystem { specialArgs = { systemName = "laptop"; inherit inputs window_manager; }; modules = [ ./configuration.nix inputs.home-manager.nixosModules.default inputs.nix-index-database.nixosModules.nix-index ]; }; mrfluffyPC = nixpkgs.lib.nixosSystem { specialArgs = { systemName = "pc"; inherit inputs window_manager; }; modules = [ ./configuration.nix inputs.home-manager.nixosModules.default inputs.nix-index-database.nixosModules.nix-index ]; }; }; }; }