Use alejandra for formatting Nix files
This commit is contained in:
parent
7db4788e49
commit
7302dae7ec
17 changed files with 273 additions and 244 deletions
|
@ -1,24 +1,29 @@
|
|||
{ inputs, pkgs, self, system, username }:
|
||||
|
||||
{ desktop ? false, hostname }:
|
||||
|
||||
let
|
||||
configuration = import ./configuration.nix { inherit desktop hostname inputs pkgs system; };
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
self,
|
||||
system,
|
||||
username,
|
||||
}: {
|
||||
desktop ? false,
|
||||
hostname,
|
||||
}: let
|
||||
configuration = import ./configuration.nix {inherit desktop hostname inputs pkgs system;};
|
||||
hardware-configuration = 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;
|
||||
};
|
||||
}
|
||||
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
|
||||
hardware-configuration
|
||||
];
|
||||
}
|
||||
configuration
|
||||
hardware-configuration
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue