reorganise flake.nix
This commit is contained in:
parent
0afa745b6c
commit
8023ec62dc
1 changed files with 53 additions and 57 deletions
24
flake.nix
24
flake.nix
|
|
@ -15,15 +15,16 @@
|
|||
st-flexipatch.url = "https://git.antoinevaure.fr/ant/st-flexipatch/archive/master.zip";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, ... }@inputs:
|
||||
outputs =
|
||||
{ nixpkgs, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
pkgs-unstable = inputs.unstable.legacyPackages.${system};
|
||||
nixgl = inputs.nixgl.packages.${system};
|
||||
in {
|
||||
homeConfigurations."anvaure@Allegro23-12" =
|
||||
inputs.home-manager.lib.homeManagerConfiguration {
|
||||
in
|
||||
{
|
||||
homeConfigurations."anvaure@Allegro23-12" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {
|
||||
|
|
@ -39,8 +40,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
homeConfigurations."ant@hs" =
|
||||
inputs.home-manager.lib.homeManagerConfiguration {
|
||||
homeConfigurations."ant@hs" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {
|
||||
|
|
@ -54,8 +54,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
homeConfigurations."ant@basado" =
|
||||
inputs.home-manager.lib.homeManagerConfiguration {
|
||||
homeConfigurations."ant@basado" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {
|
||||
|
|
@ -71,8 +70,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
homeConfigurations."ant@moon" =
|
||||
inputs.home-manager.lib.homeManagerConfiguration {
|
||||
homeConfigurations."ant@moon" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {
|
||||
|
|
@ -92,16 +90,14 @@
|
|||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./os/configuration.nix
|
||||
]
|
||||
;
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.moon = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./os/moon.nix
|
||||
]
|
||||
;
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue