fix(flake): order of stuff

This commit is contained in:
Ahurac 2024-10-10 21:15:47 +02:00
parent 292f0b1719
commit 428b0da86a

View file

@ -2,10 +2,10 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager/master"; home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
flatpaks.url = "github:gmodena/nix-flatpak/main"; flatpaks.url = "github:gmodena/nix-flatpak/main";
anyrun.url = "github:anyrun-org/anyrun"; anyrun.url = "github:anyrun-org/anyrun";
niri.url = "github:sodiboo/niri-flake"; niri.url = "github:sodiboo/niri-flake";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
anyrun.inputs.nixpkgs.follows = "nixpkgs"; anyrun.inputs.nixpkgs.follows = "nixpkgs";
niri.inputs.nixpkgs.follows = "nixpkgs"; niri.inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -14,7 +14,6 @@
nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem { nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./ahrc-pc/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
@ -25,13 +24,13 @@
./ahrc-pc/home.nix ./ahrc-pc/home.nix
]; ];
} }
./ahrc-pc/configuration.nix
]; ];
}; };
nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem { nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./ahrc-laptop/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
@ -43,6 +42,7 @@
./ahrc-laptop/home.nix ./ahrc-laptop/home.nix
]; ];
} }
./ahrc-laptop/configuration.nix
]; ];
}; };
}; };