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";
|
st-flexipatch.url = "https://git.antoinevaure.fr/ant/st-flexipatch/archive/master.zip";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, ... }@inputs:
|
outputs =
|
||||||
|
{ nixpkgs, ... }@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
pkgs-unstable = inputs.unstable.legacyPackages.${system};
|
pkgs-unstable = inputs.unstable.legacyPackages.${system};
|
||||||
nixgl = inputs.nixgl.packages.${system};
|
nixgl = inputs.nixgl.packages.${system};
|
||||||
in {
|
in
|
||||||
homeConfigurations."anvaure@Allegro23-12" =
|
{
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."anvaure@Allegro23-12" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
|
@ -39,8 +40,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfigurations."ant@hs" =
|
homeConfigurations."ant@hs" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
|
@ -54,8 +54,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfigurations."ant@basado" =
|
homeConfigurations."ant@basado" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
|
@ -71,8 +70,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfigurations."ant@moon" =
|
homeConfigurations."ant@moon" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
|
@ -92,16 +90,14 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./os/configuration.nix
|
./os/configuration.nix
|
||||||
]
|
];
|
||||||
;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations.moon = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.moon = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./os/moon.nix
|
./os/moon.nix
|
||||||
]
|
];
|
||||||
;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue