style: reformat with nixfmt-rfc-style
This commit is contained in:
parent
5ad8bc1d56
commit
1c5d83d81e
99 changed files with 2247 additions and 1334 deletions
|
@ -1,20 +1,30 @@
|
|||
{ inputs, lib, ... }:
|
||||
|
||||
let createUser' = import ./createUser.nix;
|
||||
in {
|
||||
let
|
||||
createUser' = import ./createUser.nix;
|
||||
in
|
||||
{
|
||||
imports = [ ./openwrt.nix ];
|
||||
options.flake.lib = lib.mkOption { type = with lib.types; lazyAttrsOf raw; };
|
||||
config.flake.lib = {
|
||||
createSystem = hostName:
|
||||
createSystem =
|
||||
hostName:
|
||||
{ hardwareConfig, config }:
|
||||
({ pkgs, lib, ... }: {
|
||||
networking.hostName = hostName;
|
||||
(
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
networking.hostName = hostName;
|
||||
|
||||
imports = [ ../modules/common.nix hardwareConfig config ];
|
||||
});
|
||||
createUser = name: args:
|
||||
({ pkgs, ... }@args2:
|
||||
(createUser' name args) ({ inherit (inputs) home-manager; } // args2));
|
||||
imports = [
|
||||
../modules/common.nix
|
||||
hardwareConfig
|
||||
config
|
||||
];
|
||||
}
|
||||
);
|
||||
createUser =
|
||||
name: args:
|
||||
({ pkgs, ... }@args2: (createUser' name args) ({ inherit (inputs) home-manager; } // args2));
|
||||
createMediaGroup = _: { users.groups.media.gid = 600; };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue