refactor: auto-format

main
mandlm 2022-06-26 14:44:53 +02:00
parent 7a70125a21
commit 9c1e1a5243
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 31 additions and 29 deletions

View File

@ -18,40 +18,42 @@
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = inputs; specialArgs = inputs;
modules = [ modules = [
./configuration.nix ./configuration.nix
./users.nix ./users.nix
./machines/nixos-vm/configuration.nix ./machines/nixos-vm/configuration.nix
./machines/nixos-vm/hardware-configuration.nix ./machines/nixos-vm/hardware-configuration.nix
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager
home-manager.useGlobalPkgs = true; {
home-manager.useUserPackages = true; home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit user; }; home-manager.useUserPackages = true;
home-manager.users.${user} = { home-manager.extraSpecialArgs = { inherit user; };
imports = [ ./home-${user}.nix ]; home-manager.users.${user} = {
}; imports = [ ./home-${user}.nix ];
} };
]; }
];
}; };
nixosConfigurations.apache = nixpkgs.lib.nixosSystem { nixosConfigurations.apache = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = inputs; specialArgs = inputs;
modules = [ modules = [
./configuration.nix ./configuration.nix
./users.nix ./users.nix
./machines/apache/configuration.nix ./machines/apache/configuration.nix
./machines/apache/hardware-configuration.nix ./machines/apache/hardware-configuration.nix
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager
home-manager.useGlobalPkgs = true; {
home-manager.useUserPackages = true; home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit user; }; home-manager.useUserPackages = true;
home-manager.users.${user} = { home-manager.extraSpecialArgs = { inherit user; };
imports = [ ./home-${user}.nix ]; home-manager.users.${user} = {
}; imports = [ ./home-${user}.nix ];
} };
]; }
];
}; };
}; };
} }