flake: add system to home-manager arguments

This commit is contained in:
Asmir A 2024-01-28 15:00:45 +01:00
parent 1ffa293354
commit 21a44c285c
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -72,7 +72,7 @@
pkgs = nixpkgs.legacyPackages.x86_64-linux.pkgs;
in {
nixosConfigurations = rec {
nixy = nixpkgs.lib.nixosSystem {
nixy = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
{_module.args = inputs;}
@ -87,7 +87,7 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.akill = import ./home/home.nix;
home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.extraSpecialArgs = {inherit inputs system;};
}
peerix.nixosModules.peerix
{
@ -104,7 +104,7 @@
];
};
mediabox = nixpkgs.lib.nixosSystem {
mediabox = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
{_module.args = inputs;}
@ -120,7 +120,7 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.akill = import ./home/home.nix;
home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.extraSpecialArgs = {inherit inputs system;};
}
peerix.nixosModules.peerix
{
@ -137,7 +137,7 @@
];
};
blue = nixpkgs.lib.nixosSystem {
blue = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
{_module.args = inputs;}
@ -150,10 +150,11 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.akill = import ./home/home.nix;
home-manager.extraSpecialArgs = {inherit inputs system;};
}
];
};
magpie = nixpkgs.lib.nixosSystem {
magpie = nixpkgs.lib.nixosSystem rec {
system = "arm64-linux";
modules = [
{_module.args = inputs;}