{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; home-manager.url = "github:nix-community/home-manager/master"; flatpaks.url = "github:gmodena/nix-flatpak/main"; anyrun.url = "github:anyrun-org/anyrun"; niri.url = "github:sodiboo/niri-flake"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; anyrun.inputs.nixpkgs.follows = "nixpkgs"; niri.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { nixpkgs, home-manager, flatpaks, anyrun, niri, ... }: { nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ niri.nixosModules.niri home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.ahurac.imports = [ flatpaks.homeManagerModules.nix-flatpak anyrun.homeManagerModules.default ./ahrc-pc/home.nix ]; } ./ahrc-pc/configuration.nix ]; }; nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ niri.nixosModules.niri home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.ahurac.imports = [ flatpaks.homeManagerModules.nix-flatpak anyrun.homeManagerModules.default ./ahrc-laptop/home.nix ]; } ./ahrc-laptop/configuration.nix ]; }; }; }