Format using nixfmt

This commit is contained in:
Oliver Davies 2024-03-18 20:33:28 +00:00
parent a33c74c580
commit b1421c97e1
30 changed files with 184 additions and 265 deletions
lib/nixos

View file

@ -1,26 +1,21 @@
{
inputs,
self,
username,
}: {
desktop ? false,
}: let
configuration = import ./configuration.nix {inherit desktop inputs self;};
{ inputs, self, username, }:
{ desktop ? false, }:
let
configuration = import ./configuration.nix { inherit desktop inputs self; };
hardwareConfiguration = import ./hardware-configuration.nix;
in
inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.home-manager.nixosModules.home-manager
{
home-manager = {
extraSpecialArgs = {inherit inputs desktop self username;};
useGlobalPkgs = true;
useUserPackages = true;
users."${username}" = import ./home-manager;
};
}
in inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.home-manager.nixosModules.home-manager
{
home-manager = {
extraSpecialArgs = { inherit inputs desktop self username; };
useGlobalPkgs = true;
useUserPackages = true;
users."${username}" = import ./home-manager;
};
}
configuration
hardwareConfiguration
];
}
configuration
hardwareConfiguration
];
}