Format using nixfmt
This commit is contained in:
parent
a33c74c580
commit
b1421c97e1
30 changed files with 184 additions and 265 deletions
lib/nixos
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue