reorganise flake.nix
This commit is contained in:
parent
0afa745b6c
commit
8023ec62dc
1 changed files with 53 additions and 57 deletions
110
flake.nix
110
flake.nix
|
|
@ -15,93 +15,89 @@
|
||||||
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 = {
|
||||||
inherit pkgs-unstable;
|
inherit pkgs-unstable;
|
||||||
variant = "allegro";
|
variant = "allegro";
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
|
||||||
{ home.username = "anvaure"; }
|
|
||||||
./home/home.nix
|
|
||||||
{ home.packages = [ nixgl.nixGLIntel ]; }
|
|
||||||
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfigurations."ant@hs" =
|
modules = [
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
{ home.username = "anvaure"; }
|
||||||
inherit pkgs;
|
./home/home.nix
|
||||||
|
{ home.packages = [ nixgl.nixGLIntel ]; }
|
||||||
|
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
extraSpecialArgs = {
|
homeConfigurations."ant@hs" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs-unstable;
|
inherit pkgs;
|
||||||
variant = "hs";
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
extraSpecialArgs = {
|
||||||
{ home.username = "ant"; }
|
inherit pkgs-unstable;
|
||||||
./home/home.nix
|
variant = "hs";
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfigurations."ant@basado" =
|
modules = [
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
{ home.username = "ant"; }
|
||||||
inherit pkgs;
|
./home/home.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
extraSpecialArgs = {
|
homeConfigurations."ant@basado" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs-unstable;
|
inherit pkgs;
|
||||||
variant = "default";
|
|
||||||
inherit inputs;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
extraSpecialArgs = {
|
||||||
{ home.username = "ant"; }
|
inherit pkgs-unstable;
|
||||||
./home/home.nix
|
variant = "default";
|
||||||
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
|
inherit inputs;
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfigurations."ant@moon" =
|
modules = [
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
{ home.username = "ant"; }
|
||||||
inherit pkgs;
|
./home/home.nix
|
||||||
|
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
extraSpecialArgs = {
|
homeConfigurations."ant@moon" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs-unstable;
|
inherit pkgs;
|
||||||
variant = "moon";
|
|
||||||
inherit inputs;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
extraSpecialArgs = {
|
||||||
{ home.username = "ant"; }
|
inherit pkgs-unstable;
|
||||||
./home/home.nix
|
variant = "moon";
|
||||||
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
|
inherit inputs;
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
{ home.username = "ant"; }
|
||||||
|
./home/home.nix
|
||||||
|
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
nixosConfigurations.basado = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.basado = nixpkgs.lib.nixosSystem {
|
||||||
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